txzeenath
txzeenath
I see the issue with it now after setting up a local copy and doing some logging When we fetch certificates in the metadata, it's all in a list for...
After you mentioned it I decided to try a linearized tree. Which is going better than expected since I really never looked into what an octree even was until checking...
I still have to adapt my benchmark setup to include the other trees. Which I might do tonight. It'll give a much better idea of the gains. I know when...
A quick test with 39,304 objects shows: - Adding: - - Linearized: 50ms - - PointTree: 63ms - Removing: - - Linearized: 25ms - - PointTree: 20193ms I had to...
Main speed up on removal is because the added object is returned to the caller. You just call object.Remove(). The object holds a reference to the node it's in. So...
Tweaked some stuff in the linear version: - Using bitmask to tell which children have objects - - Don't need to do a lookup to check the node - Added...
Originally I was splitting one octant at a time as needed in my version in order to reduce the number of nodes checked once I add queries. But now I...
Was doing some profiling and noticed a lot of time(relatively speaking) spent in my bit shifting methods and dictionary lookups. So I de-linearized the tree with the existing logic and...
Eliminating recursion and religious abuse of the BestFitChild method definitely helped. Irrelevant nodes are never pulled from memory, and the stack isn't being obliterated. The only place really using recursion...
Eliminated lists for tracking objects. The constant searching was a bit slow(IndexOf on removes). Instead I turned each object into essentially a linked list node. Where each object has a...