logoalt Hacker News

listeriayesterday at 6:53 PM1 replyview on HN

Depends on how the CacheEntry is stored, it's probably stored in a slice of &[CacheEntry] which precludes storing the record data alongside it as the size of each entry must be fixed.


Replies

irdcyesterday at 8:06 PM

This is where hand-rolled intrusive data structures, as are traditional in C, really shine.