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

perf: improve color keyword sorting heuristic #383

Closed
bartveneman opened this issue Jan 21, 2024 · 0 comments · Fixed by #384
Closed

perf: improve color keyword sorting heuristic #383

bartveneman opened this issue Jan 21, 2024 · 0 comments · Fixed by #384
Labels
✨ enhancement New feature or request

Comments

@bartveneman
Copy link
Member

Just noticed that the full web almanac data is available, so we can make a data-driven decision around our color-keyword list to sort them by actual usage in the wild. When we sort them by most-used, our color-keyword finding algorithm will run a tiny bit faster.

Data source: https://docs.google.com/spreadsheets/d/1OU8ahxC5oYU8VRryQs9BzHToaXcOntVlh6KUHjm15G4/edit#gid=2096495459 via https://almanac.httparchive.org/en/2022/css#colors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant