Skip to content

drcachecim/reuse_distance Optimize perfomance #7731

@artur-abd

Description

@artur-abd

Double linked list works really slow.

Splay tree is data structure that can implement the same operations but using O(log n) time amoritated instead of O(n / const) for linked list with skip list.

At my workflows I achived a significant perfomance improve(up to -98% collection time for single workflow and 40-50% in average).

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