blob: 404586a492e80d0dec02cb8098f84e580472a75b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
TODO Show files with multiple tags & viceversa
TODO Get rid of old functionalities (strnatcmp, BM)
----------------------------------------------------------------
DONE Add remove tag from file function
DONE Add delete functions
DONE Must update all indexes in map when removing a file or a tag
DONE Standarize function names
DONE Make it so count of other files/tags gets updated when deleting files/tags
DONE Add remove* functions, restructure tables functions
DONE Add changelog files
DONE Consider refactoring tables to B-Trees (better performance?)
NOTE: Ended up using AVL trees instead, only needed for hashes
DONE Change DB model from struct row
typedef struct{
char path[MAXPATH];
char tags[MAXTAGS];
uint16_t lenTags;
uint16_t numTags;
} row;
to tables of ids
images[] tags[] images:tags[]
DONE Try different hashing functions (current: crc64), e.g murmur
DONE Try to improve 'sameStr' by maybe not having to check s2[i2]
|