forked from joejulian/gio
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>