I’m trying to find a relatively small, simple (get, put, delete) key value store. Something like Kyoto Cabinet or LevelDB, but way smaller and simpler. Kyoto Cabinet is 40k lines of C++. I need something closer to 4k or fewer lines. This is for a few kilobytes of keys and values backed by 64k of durable nonvolatile memory. Access frequency will be very low (maybe a few accesses in a day), but energy efficiency is important. Any pointers appreciated.