Skip to content

Speeding up get_*() and guess_*() #1147

@Anteru

Description

@Anteru

(Original issue 1443 created by scopatz on 2018-06-05T13:37:18.688523+00:00)

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-majorseverity: majorT-featuretype: a new featureX-importedimported from Bitbucket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions