Skip to content

splay tree optimizations #11

@jblachly

Description

@jblachly
  1. reduce use of updateMax (may not need to bubble up since we update on the way down on insert)

  2. templatize zig, ziz-zig, and zig-zag by direction to factor out if/else (although these if/else may be branch predicted well already)

  3. findOverlapsWith: static array stack. Will need to instrument this to see how deep an unbalanced tree we have after loading chain file.

  4. findOverlapsWith: static array ret. (would also want to change IntervalAVLTree to match)

  5. (Benchmark) When # overlapping intervals > 1, splay once or more

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