Skip to content

Faster Py_IncRef/Py_DecRef #18

Closed
Closed
@cjdoris

Description

@cjdoris

There is a considerable overhead from calling a C function (~15ns).

In the case of Py_IncRef/Py_DecRef we could modify the ref count directly from Julia, only calling Py_DecRef once the ref count is <2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions