Skip to content

Improve search performances #5

Description

@irevoire

Points inserted in 7971.489929667s
Found 1725 stores in Le Vigan in 4.601183ms
Found 30942 stores in Nîmes in 12.080573ms
Found 298270 stores in Gard in 313.513845ms
Found 2454224 stores in Occitanie in 2.763677925s

2.7s is unacceptable.
Must be profiled to be sure, but a first optimization idea would be to guess the size of the queried shape and tile the query instead of the cells until the query takes more than like 6-10 cells.
Once that happens, it’s better to tiles the individual cells instead of the shape.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions