vmcontainer
btree
vmcontainer | btree | |
---|---|---|
2 | 2 | |
37 | 2 | |
- | - | |
1.8 | 2.6 | |
over 2 years ago | almost 3 years ago | |
C++ | Python | |
Boost Software License 1.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vmcontainer
-
In Defense of Linked Lists
Some game engine developers have certainly used this idea, to prevent any reallocations when the dynamic array needs to be resized. Such as:
https://ruby0x1.github.io/machinery_blog_archive/post/virtua...
Some ECS implementations use this to reduce the overhead of dynamic arrays, as well as ensuring pointer stability of the items stored. For example entt:
https://skypjack.github.io/2021-06-12-ecs-baf-part-11/
And here's a library implementing a resizable, pointer-stable vector using virtual memory functionality from the OS:
https://github.com/mknejp/vmcontainer
-
pinned_vec - invalidating iterator invalidation
We have also released in the meantime our code on GitHub (https://github.com/mknejp/vmcontainer)
btree
-
In Defense of Linked Lists
For a simple and readable implementation of a Python btree see this:
https://github.com/samsquire/btree
I tried to keep the implementation as simple as I could.
-
B-Trees: More Than I Thought I'd Want to Know
Btrees can be really simple, I've written a super simple understandable readable btree here.
https://github.com/samsquire/btree
It doesn't balance laterally like some B+ btrees do but it handles splits in a really simple way.
What are some alternatives?
re2j - linear time regular expression matching in Java
bplustree - An on-disk B+tree for Python 3
multichase
jdk7u-jdk
Taren - Useful C++ templates
learndb-py - Learn database internals by implementing it from scratch.