mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
062cb210ea
Benchmarking showed that the double map access calls were a bottleneck. Rework the cache to avoid half of them. The simplest, naive approach would have been to store a pointer to a struct with a keep field in the map, allowing cheap update and frame() operation. Benchmarking showed that the increased GC pressure of that approach decreased performance however. Signed-off-by: Viktor <viktor.ogeman@gmail.com>