Optimize trkpt sort #15
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
must do
question
tools
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Dyomedea/dyomedea#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For whatever reason, PouchDB does not use indexes parts which are not defined in first position for sorting.
This means that an index on "document type / gpx id / time" would not be used to sort the trkpts for a given gpx id be time (worse than that, this does even raise an exception) and the sort is currently done by the components, for instance in gpx.tsx:
This is inefficient and slow when there are many track points and this must be optimized.
An option would be to use and abuse ids and consider using the DocURI library.
Done