Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow when store Class object (raw) in rtree #335

Open
jiang-yuan opened this issue Nov 1, 2024 · 0 comments
Open

Very slow when store Class object (raw) in rtree #335

jiang-yuan opened this issue Nov 1, 2024 · 0 comments

Comments

@jiang-yuan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant