You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syntect performs a few transformations to syntax definition's regexes while loading everything. The most notable one in terms of the final syntax set's size being the expansion of the various variables that can be included with a syntax definition. This expansion can be delayed to when the regex is compiled instead which can significantly reduce the embedded syntax definitions (my notes from testing with generating a syntax set without applying the transformations to regexes say that it took the total size of all of the LazyContexts that are stored in bat's syntax set from 720 to 673 KiB)
The text was updated successfully, but these errors were encountered:
syntect
performs a few transformations to syntax definition's regexes while loading everything. The most notable one in terms of the final syntax set's size being the expansion of the variousvariables
that can be included with a syntax definition. This expansion can be delayed to when the regex is compiled instead which can significantly reduce the embedded syntax definitions (my notes from testing with generating a syntax set without applying the transformations to regexes say that it took the total size of all of theLazyContext
s that are stored inbat
's syntax set from 720 to 673 KiB)The text was updated successfully, but these errors were encountered: