rtree icon indicating copy to clipboard operation
rtree copied to clipboard

Very slow when store Class object (raw) in rtree

Open jiang-yuan opened this issue 1 year ago • 1 comments

I do not see rtree use stored Object to calculate, but it serialize to C and deserialize from C everytime when I insert it into a tree. I can see the neccessity to do it. Why not follow the common practice to just store references of objects? When I only store the id of my objects, my program speed up to 20x. PixPin_2024-11-01_11-44-19

jiang-yuan avatar Nov 01 '24 03:11 jiang-yuan

Can you give a bit more insights in regards to the figure your have attached ?

usapeshka avatar Feb 25 '25 17:02 usapeshka