Search
18:23:05
ebrasca
Can I control how GC remove from weak hash tables?
18:23:42
ebrasca
Like remove less used ones or some other method.
18:24:59
froggey
not at the moment, but it'll be supported when soft references are eventually added
18:26:27
ebrasca
I can plan to add some system keeping track of how old/used/... is one block.
20:41:05
ebrasca
froggey: Do you have some opiniont about page cache?
20:43:56
ebrasca
Do you care if I add and refactor in same commit?
22:23:00
ebrasca
ACTION is thinking in implementing fifo , riro and others with GC.
23:04:32
ebrasca
For now I don't need to make cache policy.
23:06:40
froggey
yes, but how are they going to use the GC?
23:07:41
ebrasca
I have weak hash table with blocks , this blocks can have info like how old is it.
23:08:10
ebrasca
Then if you don't have memory you delete old blocks first.
23:08:44
ebrasca
Or some other cache policy.
23:08:53
froggey
you're going to modify the GC to support this?
23:09:54
ebrasca
It is fittestbits idea.
23:11:24
ebrasca
I am going to make everiting I can make.
23:12:55
froggey
just don't break it, the gc is complicated
23:15:28
ebrasca
First I need to make disk cache work with file cache and other fs.