Skip to content

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

Description

@jiang-yuan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions