-
Notifications
You must be signed in to change notification settings - Fork 40
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
Reducing size of Color #31
Comments
The code that handles colors is indeed some of the oldest and in a deep need of refactoring. If I remember correctly, it is necessary to store
I will need to look into the |
|
I want to give a try to reduce size of
Color
. Currently,Currently,
It looks quite huge. I wonder if the following is possible.
This could probably get us to 64 bytes from 216. Or if we split out Hsla from a pointer (Box), we could probably get 32 bytes. I personally think it could be beneficial for cache lines to speed things up, not sure how true is this but we saw performance improvements last time for size reduction IIRC.
@connorskees What do you think?
The text was updated successfully, but these errors were encountered: