Skip to content

Alternate colour map storage #4

@gennyble

Description

@gennyble

At birth it used a HashMap containing every colour, which does not seem wise as it was very computationally heavy.

Now it uses a flat vec of every possible 24-bit colour, which is fast as ever but pretty ram heavy. There has to be a middle ground somewhere. It would be neat to have a configurable mapping method so we could experiment a bit and give more choice to crate users. Kind of like Argon2 vs. Argon2i

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions