dodb.cr/TODO.md

677 B

Performance

  • Search with some kind of "pagination" system: ask entries with a limit on the number of elements and an offset.
  • Rewrite the each_with_index function: use a limit parameter instead of an end_offset.
  • RAMOnly: do not read/write the last_entry file.
  • Use the #unsafe_add function when possible.

Memory management

  • When a value is removed, the related partitions (and tags) may be empty, leaving both an empty array in memory and a directory on the file-system. Should they be removed?

Documentation

  • Write the API documentation.
  • Finish the PDF to explain why DODB.
  • Change index by key in DODB::Storage and inherited classes.