mirror of
https://github.com/RGBCube/serenity
synced 2026-01-20 06:41:01 +00:00
Change from 4 vectors of u8 to a single vector of a struct of 4 u8. Since all the accesses are on the same indicies into each vector the cache pressure is decreased by co-locating the data. When scrolling up and down in the `box-shadow` example page the profile changes from about 75% of the function calls being in `apply_single_pass()` to only about 70% on my machine. |
||
|---|---|---|
| .. | ||
| Applets | ||
| Applications | ||
| Demos | ||
| DevTools | ||
| DynamicLoader | ||
| Games | ||
| Libraries | ||
| Services | ||
| Shell | ||
| Utilities | ||
| CMakeLists.txt | ||