Skip to content

refactor: Move variables into compressed contexts#540

Open
CosmicHorrorDev wants to merge 1 commit intotrishume:masterfrom
CosmicHorrorDev:compress-variables
Open

refactor: Move variables into compressed contexts#540
CosmicHorrorDev wants to merge 1 commit intotrishume:masterfrom
CosmicHorrorDev:compress-variables

Conversation

@CosmicHorrorDev
Copy link
Contributor

Hacky implementation that resolves #482

This moves variables into LazyContexts that get compressed for a SyntaxReference

This PR is mostly just a proof-of-concept, so I'd be more than happy to make changes

@CosmicHorrorDev
Copy link
Contributor Author

Worth mentioning that this will be a breaking change of course

@CosmicHorrorDev
Copy link
Contributor Author

Reported the CI issue upstream serde-rs/serde#2734

@Enselic Enselic added this to the syntect 6.0.0 milestone May 2, 2024
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.

Consider compressing SyntaxReference's variables

2 participants