tasks.txt 1.0 KB

1234567891011121314151617
  1. Notes/To Do:
  2. 1) replace sending in strings of binary and lengths with:
  3. a) only should need source2 for binary data, no need to not have the functionality it provides (replaced source1 with in-progress build, source3 with a base-10 in-progress)
  4. b) any source should allow no length being provided, just a string (done in source1 with vectors)
  5. c) one source should allow storage of ASCII strings, converting to binary in the backend
  6. d) want a measure of compression (done in source1)
  7. i) formula: nodes vs nodes in a normal trie
  8. ii) formula: nodes vs total binary characters of all strings being stored (raw)
  9. 2) error handling
  10. a) throw error for deleting stuff that's not there
  11. b) check/handle (and throw) when you cannot allocate space to do an operation
  12. c) throw error for invalid input to functions
  13. i) invalid characters in strings
  14. for source3: can put a goto into insert to skip checking if pos==val[i] since we set it at the start
  15. for source3: bool isLeaf() can be handled by setting a flag during inserts/deletions, that way we don't need to calculate