Skip to content

-X jit-enable-jit-list-wildcards adds significant overhead #30

Closed

Description

@jbower-fb

As per discussion in #18, enabling this option adds a ~2% overhead when enabled. We should at least add a comment to let people know this is not suitable for production.

The root-cause is likely O(all pattern lengths) complexity being introduced on every PyEval_LazyInit() which can be a very significant given how nested-function support currently works.

Activity

  1. added
    bug
    on Jun 17, 2021
  2. jbower-fb commented on Jun 17, 2021

    @jbower-fb
    ContributorAuthor

    Dupe of #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcinder-jit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions