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

Change colorMap to slice for performance #1

Closed
codekidX opened this issue May 14, 2019 · 0 comments
Closed

Change colorMap to slice for performance #1

codekidX opened this issue May 14, 2019 · 0 comments
Assignees

Comments

@codekidX
Copy link
Contributor

codekidX commented May 14, 2019

After some extensive research, it seems slices will give a performance boost on looking up color elements as we are not looping in that case either.

Thanks Johan Dahl at go forums for pointing this out

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

No branches or pull requests

1 participant