"Compacting the Uncompactable" by Bobby Powers
Strange Loop Conference · 2 位 HN 用户推荐 · 2020–2022
There's an interesting talk [0] from Bobby Powers on how to make a malloc() and free() that perform compaction, to be able to release memory back to the operating system more frequently (and improve cache hit rates, etc.). But this isn't standard at all yet. [1]: [link]
— remexre, 2020Apparently it actually led to memory usage improvements in industrial projects like Redis: [link]
— rtfeldman, 2022