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

Colormap initialization #41

Open
corranwebster opened this issue Nov 1, 2024 · 0 comments
Open

Colormap initialization #41

corranwebster opened this issue Nov 1, 2024 · 0 comments

Comments

@corranwebster
Copy link
Contributor

Colormaps currently use array to make it easy to index into them, but the array constructor copies the bytes. The original bytes are then discarded, so overall memory use isn't an issue, but this may cause memory fragmentation.

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