tzaeschke / phtree-cpp

PH-Tree C++ implementation
Apache License 2.0
28 stars 9 forks source link

Try storing Node directly in Entry #39

Closed tzaeschke closed 2 years ago

tzaeschke commented 2 years ago

Store Node directly in Entry instead of storing a pointer. Nodes are quite small (the entries are in a separate container) so we could avoid a memory indirection at the cost of slightly larger Entries.

tzaeschke commented 2 years ago

This branch demonstrates this. Issue: array_map does not work because it tries to directly instantiate the full tree. Workaround: disable array_map in node.h.

Results:

Conclusion: