Skip to content

Conversation

@thecrypticace
Copy link
Contributor

When the arrays of colors were split, both smaller, and had different values (one check was incorrectly case-sensitive) to lookup an includes check was faster. They’ve been merged for a while so now a Set is beneficial to perf.

When the arrays of colors were split, both smaller, and had different values to lookup an `includes` check was faster. Since they’ve been merged a Set is now beneficial.
@thecrypticace thecrypticace merged commit a79fa45 into next Mar 29, 2024
@thecrypticace thecrypticace deleted the faster-is-color branch March 29, 2024 13:15
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.

3 participants