Skip to content

Convert Python objects to C objects for further speedups #1

@sylvinus

Description

@sylvinus

It is already done for nesting_limit. Each of the options should be transformed into C objects during init so that _traverse_node() uses as few Python objects as possible.

The gumbocy.html file generated after make cythonize is useful for seeing which lines use Python objects.

What would be the most efficient C type for lookups, to replace the Python sets like attributes_whitelist?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions