sebcat/store
View on GitHub ↗ ★ 56 Go
File backed element store with caching and async writes
3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2015-02-28 · latest 2015-03-19
20082026
-
…double linked lists are generally better suited than arrays is caches with LRU eviction. Example: https://github.com/sebcat/store/blob/master/store.go#L68-L15...
comment by sebcat · 2015-03-19 · in Improving Go's 'container/list' -
…to test your statement, and you were right. The testcase is not representative of the functionality in github.com/sebcat/store. here it is: https://pastie.se/e4352d50 BenchmarkNoDefer 10000000 177 ns/op BenchmarkDefer 2000000 633 ns/op ok…
comment by sebcat · 2015-03-01 · in Show HN: Concurrency-safe file-backed element store in Go -
▲ 19
Show HN: Concurrency-safe file-backed element store in Gostory by sebcat · 2015-02-28 · 6 comments