Jim Paris
e1d827e246
git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb@10325 ddd99763-3ecb-0310-9145-efcb8ce7c51f
263 B
263 B
- Have a class representing the file contents
- Looks like an array
- len(), get(), index
- some form of bisect search
- get_extents = return [0].timestamp, [-1].timestamp
- Can append? Sure, why not. Just write to the file, extend mmap accordingly.