Skip to content

Constant-time cleanup of callbacks #26

@Strilanc

Description

@Strilanc

Currently, removing a callback can involve searching for it in an array. By using a doubly-linked list, or maybe just a hash table, the worst-case or at least expected times can be reduced from linear to constant.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions