Open tyestro opened 5 years ago
Great that you find the bug! Thank you! BTW, do you mind I ask how large is your working set? I have worked with millions of object in the past, but it does not seem to be a problem (I know the tree depth is not directly linked to working set size).
The recursive approach to freeing the splay tree can cause a stack overflow when simulating large traces. E.g., on a system with a default 8KB stack size per user.
CMimircache/CMimircache/dataStructure/splay.c
void free_sTree(sTree* t)