blob: e7a6030656025c0cb0789f51f42a057e198be876 (
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
|
TODO Standarize function names
TODO Get rid of old functionalities (strnatcmp, BM)
----------------------------------------------------------------
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]
|