-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
splay tree optimizations #11
Comments
|
Templated version of zigZig Does not seem to improve performance much if at all. This is in branch template-zigzag. |
|
This issue should be moved to https://github.com/blachlylab/intervaltree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reduce use of
updateMax
(may not need to bubble up since we update on the way down on insert)templatize zig, ziz-zig, and zig-zag by direction to factor out if/else (although these if/else may be branch predicted well already)
findOverlapsWith
: static arraystack
. Will need to instrument this to see how deep an unbalanced tree we have after loading chain file.findOverlapsWith
: static arrayret
. (would also want to changeIntervalAVLTree
to match)(Benchmark) When # overlapping intervals > 1, splay once or more
The text was updated successfully, but these errors were encountered: