Skip to content
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

avl has higher insert time than rbtree #5

Open
mgood7123 opened this issue Dec 14, 2022 · 0 comments
Open

avl has higher insert time than rbtree #5

mgood7123 opened this issue Dec 14, 2022 · 0 comments

Comments

@mgood7123
Copy link

sizeof=32/32
linux rbtree with 2500000 nodes:
insert time: 1694ms, height=28
total: 1694ms

avlmini with 2500000 nodes:
insert time: 1880ms, height=25
total: 1880ms

linux rbtree with 1000000 nodes:
insert time: 583ms, height=26
total: 583ms

avlmini with 1000000 nodes:
insert time: 722ms, height=24
total: 722ms

linux rbtree with 100000 nodes:
insert time: 23ms, height=20
total: 23ms

avlmini with 100000 nodes:
insert time: 32ms, height=20
total: 32ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant