Mercurial > urweb
view caching-tests/test.urs @ 2279:32a407902d3b
Rewrite LRU cache. Now uses one big hash table and is less buggy.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Wed, 11 Nov 2015 20:01:48 -0500 |
parents | c05f9a5e0f0f |
children | f8903af753ff |
line wrap: on
line source
val cache : int -> transaction page val cacheR : {Id : int, FooBar : int} -> transaction page (* val cache2 : int -> int -> transaction page *) val flush : int -> transaction page val flash : int -> transaction page val floosh : int -> transaction page (* val flush17 : transaction page *)