I have a DOK-like data structure based on C++'s `std::map` lying around. If I have time, I can try to build a DOK replacement out of it.