Is there some reason you don't just code it by hand?
Question to the author and anyone else who might know, because this article got me thinking: When is it appropriate to defragment a CACHE.DAT sitting on an SSD?
The lifetime of an SSD diminishes with each write, and unlike conventional disks where one has to worry about head movement, defragging doesn't come with the same bang for the buck that it does with conventional disks. I'd imagine that there are still benefits (for example, you might have cached in memory the block you just read off the SSD, and it happens to contain the next value you need from that global, which means you can just grab it from the cache rather than going across the I/O interface), but don't know how the wins from that balance out with the number of writes by which one is shortening the life of the SSD in order to achieve those wins. Thoughts?
Is there some reason you don't just code it by hand?