Files
rust/src
Ben Kimock 3bbcafe3b5 Cache lookups into the borrow stack
This adds a very simple LRU-like cache which stores the locations of
often-used tags. While the implementation is very simple, the cache hit
rate is incredible at ~99.9% on most programs, and often the element at
position 0 in the cache has a hit rate of 90%. So the sub-optimality of
this cache basicaly vanishes into the noise in a profile.

Additionally, we keep a range which denotes where there might be an item
granting Unique permission in the stack, so that when we invalidate
Uniques we do not need to scan much of the stack, and often scan nothing
at all.
2022-07-01 17:51:16 -04:00
..
2022-07-01 12:25:35 -04:00
2022-07-01 18:42:33 +02:00
2022-07-01 12:25:35 -04:00
2022-06-27 01:39:24 +02:00
2022-06-28 08:52:22 -04:00
2022-07-01 17:51:16 -04:00
2022-06-08 08:06:32 -04:00
2022-04-09 09:41:29 -04:00
2022-04-29 15:53:48 -07:00