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

Optimize coordinate transforms on flat arrays. #939

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Oct 16, 2018

This is commonly done (for instance in generating glLineFeature). As a crude metric, this reduces time by about a third. For instance, transforming ~100,000 line vertices went from around 60 ms to 40 ms.

@manthey manthey force-pushed the optimize-flat-array-transform branch from b4c267c to 43c2233 Compare October 16, 2018 15:25
This is commonly done (for instance in generating glLineFeature).  As a
crude metric, this reduces time by about a third.  For instance,
transforming ~100,000 line vertices went from around 60 ms to 40 ms.
@manthey manthey force-pushed the optimize-flat-array-transform branch from 43c2233 to 8cd7896 Compare October 17, 2018 16:50
@manthey manthey merged commit 2246030 into master Oct 18, 2018
@manthey manthey deleted the optimize-flat-array-transform branch October 18, 2018 11:53
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

Successfully merging this pull request may close these issues.

2 participants