Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upBTreeMap for all the storage #122
Comments
kvark
added
the
enhancement
label
Mar 15, 2017
This comment has been minimized.
This comment has been minimized.
|
IMO, user-defined storage is usefulness in case we will provide efficient storage out-of-the-box. |
This comment has been minimized.
This comment has been minimized.
OvermindDL1
commented
Mar 16, 2017
|
User defined storage for me was usually for highly optimized iteration, like for performing SSE or OpenCL over, over which a map would not suffice. |
This comment has been minimized.
This comment has been minimized.
|
Interesting, looks like the hashmaps work better for Postgres people: http://amitkapila16.blogspot.ca/2017/03/hash-indexes-are-faster-than-btree.html |
This comment has been minimized.
This comment has been minimized.
|
Considering this to be fixed by #119 |
kvark
closed this
Apr 18, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kvark commentedMar 15, 2017
It appears that
BTreeMapis both efficient at removing/inserting elements as it is at iteration, giving mostly linear access and combining the benefits of vectors and maps. It seems like an ideal storage for components (see #119), thus I wonder... If we can go extreme and force all the storages to beBTreeMap. This would simplify some of the internals and some of the user code.I haven't seen a good example of a user-defined storage type yet, so that might be the biggest question. If it's not useful, we can cut this ability.