Jim Paris
e1d827e246
git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb@10325 ddd99763-3ecb-0310-9145-efcb8ce7c51f
8 lines
263 B
Markdown
8 lines
263 B
Markdown
- 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.
|