From 6728fe29001be0fc131f3aff7af608e886da72c3 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 15 Oct 2021 17:08:32 -0700 Subject: [PATCH] updated using git-extra --- todo | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/todo b/todo index 7aafb3f..0a91e70 100644 --- a/todo +++ b/todo @@ -70,15 +70,8 @@ Stage 0: -add static pointer to current torrent -see torrent_add -tree_add+associated functions - -decide on data organization - HERE - -sorting - -file_tree in torrent struct after all done - OR - -upon insert/removal - -access - -allocations? - -free(s) - -inserts/removals + *decide on data organization + -tree_remove -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 -- 2.30.2