Speeding up get_*() and guess_*()

Issue #1443 new
Anthony Scopatz
created an issue

Hi there,

I have recently released the pygments-cache project, which significantly speeds up the access of lexers, formatters, styles, and filters.

It would be great to get this behavior into pygments itself, if at all possible, as load time performance is critical to a few applications I develop on (xonsh, xo) and others that I care about ('prompt_toolkit', IPython).

If you are interested, I'd be happy to put in a PR! Otherwise, feel free to redistribute pygments-cache and make modifications (as it is BSD licensed).

Let me know what the next steps are!

Comments (0)

  1. Log in to comment