Tilmann
Tilmann
@polasek Thanks! I will have a look.
I still can't reproduce the issue using your test or mine on my machine with `$ CC=clang-19 bazel test //test:phtree_test_issue_153 --features=asan`. ``` $ clang-19 --version Ubuntu clang version 19.1.1 (1ubuntu1~24.04.2)...
@polasek Weirdly enough, today I could finally see the asan errors. I used the commands from command history, so this hasn't changed. The only thing that changed was a BIOS...
This may be related to TZCNT/CTZ not being compiled to a CPU instruction, see #103.
-> Probably not CTZ, but somehow lower_bound seems quite expensive, even when done with TZCNT which should be just one cycle with `-mbmi2`. is it maybe the waste of memory...
`rebalance()` was fixed in #114.
copy/move was fixed in https://github.com/tzaeschke/phtree-cpp/pull/119.
> [...] The main problem I see is the possible collision. Path 1 and 2 share the same 4 tuple, client abandons 1 and at the same time server abandons...
Sorry, I don't understand what you mean? For storing 1-dimensional values I would use hashmaps or an ordered list....? You can use PH-tree to store 1-dimensional points (=scalars) but there...
Well, the PH-tree is an index structure, I don't think it (or any other index structure) can produce values. What you can do is use z-curves / Morton order to...