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

Simplify and optimize drawSymbols #3499

Merged
merged 1 commit into from
Nov 1, 2016
Merged

Simplify and optimize drawSymbols #3499

merged 1 commit into from
Nov 1, 2016

Conversation

mourner
Copy link
Member

@mourner mourner commented Nov 1, 2016

Cleans up, simplifies and optimizes drawSymbols. Uses similar technique to #3485, setting state that is shared between tiles once per layer. 👀 @lucaswoj

Mapbox Streets z13 bench:
before: 8.64ms
after: 7.87ms

@mourner mourner added performance ⚡ Speed, stability, CPU usage, memory usage, or power usage refactoring 🏗️ labels Nov 1, 2016
@mourner mourner merged commit 10d98cf into master Nov 1, 2016
@mourner mourner deleted the optimize-draw-symbol branch November 1, 2016 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage refactoring 🏗️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants