-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoloading lexers #217
Comments
Hm, yeah, this is becoming a priority as the number of lexers increases |
Just found library for autoload, it may helps. https://github.com/njonsson/autoloaded |
It's a bit more complicated than that, I'm afraid. Lexers aren't just accessed as constants - in fact, more often they're accessed by tag or alias, as in |
This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days. If you would like this issue to remain open, please reply and let us know if the issue is still reproducible. |
This is now being discussed in #1147. |
Memory with loaded lexers ~> 3Mb
Memory without ~ 0.5Mb
It is not much, but gem by gem..
It is many ways to do it, but it possible. Rarely people use all lexers.
The text was updated successfully, but these errors were encountered: