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

Bring back roadmap_label instead of roadmap_label_fast #37

Open
meirtsvi opened this issue Dec 31, 2011 · 0 comments
Open

Bring back roadmap_label instead of roadmap_label_fast #37

meirtsvi opened this issue Dec 31, 2011 · 0 comments

Comments

@meirtsvi
Copy link
Owner

I replaced roadmap_label with roadmap_label_fast since it contained many 'free' calls which causes massive amount of lookups in linked_lists (look at smalloc.c for the implementation of malloc and free).

This causes the map not to contain all street names but rather the most important ones which can be annoying.

Executing large amount of 'free' calls can take up to 50% of the device CPU. I would suggest to closely monitor the free calls and see if the implementation can be replaced with pre-allocated buffers instead of malloc-free pairs.

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