| Filename | Latest commit message | Latest commit date |
|---|---|---|
- a colour read from a string is kept (Color is immutable, so one instance is shared): ~20 ns instead of ~170-235 ns per call, and 100 000 kept results take 2 MB instead of 14 MB; at most 1024 kept, the cache starts over when full - only clean hex strings are kept: hexdec() still warns about '#zz0000' each time, as before - [r, g, b, a] lists skip array_values() - ColorOfTest compares it with the old function over 3000+ strings and odd arrays Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UZqwpHZaasov261cZ96aQf |
||
| .. | ||
| ColorOfTest.php | ||
| MiscTest.php | ||