updated using git-extra
authoralex <[email protected]>
Thu, 14 Oct 2021 22:34:22 +0000 (15:34 -0700)
committeralex <[email protected]>
Thu, 14 Oct 2021 22:34:22 +0000 (15:34 -0700)
todo

diff --git a/todo b/todo
index 1f27706fa255909931132ca6d4febd82c776e9d4..7aafb3f4c4f307d5223da91347e2864d4e3166d4 100644 (file)
--- a/todo
+++ b/todo
@@ -66,13 +66,19 @@ Stage 0:
        -foreach watch directory
                *walk each tree
                *add each file to add queue
-               -modify adding to queue function to check for duplicates before expanding hashmap - HERE
+               *modify adding to queue function to check for duplicates before expanding hashmap
                -add static pointer to current torrent
                        -see torrent_add
                        -tree_add+associated functions
-                               -sort file_tree in torrent struct after all done
-                                       OR
-                               -sort upon insert/removal
+                               -decide on data organization - HERE
+                                       -sorting
+                                               -file_tree in torrent struct after all done
+                                               OR
+                                               -upon insert/removal
+                                       -access
+                                       -allocations?
+                                       -free(s)
+                                       -inserts/removals
                        -add file to current torrent
                -add pointer to struct file to torrent->files hashmap + file_tree
                        -2 ways to access, file_tree must be sorted, hashmap allows for o(1) reads