Skip to content

Improved Performance + New Options#160

Closed
AngriestBird wants to merge 1 commit into
cwtools:mainfrom
MillenniumDawn:performance-testing
Closed

Improved Performance + New Options#160
AngriestBird wants to merge 1 commit into
cwtools:mainfrom
MillenniumDawn:performance-testing

Conversation

@AngriestBird

Copy link
Copy Markdown

No description provided.

…m cache fix

Adds cwtools.engine setting to select between the F# (dotnet) and Rust
binary backends at runtime. The Rust path is launched as a subprocess and
speaks the same LSP wire format as the F# server.

Also fixes several path resolution bugs in the F# backend that caused
false-positive validation errors and missing vanilla type definitions:
- TrimEnd('/') on normalisedPath to prevent off-by-one in fileToResourceInput
- Guard against empty normalisedPath in FileManagerHelper
- Generalize the early-return for script folders beyond just gfx/
- Pass None instead of Some "" for embedded folder in Serializer
- Use EndsWith to extract embedded dir from cached entity paths
- Add cache load/failure logging with entity/file counts

Also fixes a cache writing error on VSCodium by resolving the correct
extension storage path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant