Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Reduce memory of way tag dictionary #34

Open
danpat opened this issue Apr 24, 2018 · 0 comments
Open

Reduce memory of way tag dictionary #34

danpat opened this issue Apr 24, 2018 · 0 comments

Comments

@danpat
Copy link
Collaborator

danpat commented Apr 24, 2018

Currently, the way_tag_ranges stores the start and end indexes for tags for each way. This is twice as much data as required, we could just store the start (or end) position for each way, and use the previous way's value as the other end of the range. This would reduce memory requirements for this map by a factor of two.

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

No branches or pull requests

1 participant