Commit Graph
29 Commits
Author SHA1 Message Date
adrien ca5d806f0b Changed a bit test and removed comments 2025-02-12 16:39:35 +01:00
adrien 7352ec45c7 Removed old comment and move an array a bit later in function 2025-02-12 14:54:10 +01:00
adrien 3e234396bf Fix
Now delete .new file if Йfind one when I shouldn't in allFileIndex
2025-02-12 14:52:48 +01:00
adrien b480cff079 Fix
I wasn't flushing writter buffer if the limit is reached as I return
early
2025-02-12 14:36:02 +01:00
adrien 19c097717a a 2025-02-10 11:53:19 +01:00
adrien b757e01b64 Array and link are empty by default if not in ADD action. Also can use * to return everything execpt link
The * is to be use like that GRAB User [*, friends]
Because if I just do GRAB User [friends], I only get friends
So I would of need to specify all of them like GRAB User [name, age,
email, .., friends]
2025-01-31 10:05:55 +01:00
adrien 8c6a6188dd Working REMOVE and REMOVEAT 2025-01-30 20:21:50 +01:00
adrien cd178ce53d Working CLEAR command, now checking REMOVE 2025-01-30 20:15:07 +01:00
adrien 005631ac76 Removed a FIXME tested 2025-01-30 20:12:02 +01:00
adrien d819281fe4 Fix
If the array is empty, I still ne to append 8 bytes to hold the array
len
2025-01-30 20:11:51 +01:00
adrien b1ce5e9923 Working POP command, now doing CLEAR 2025-01-30 20:01:18 +01:00
adrien 44ea7efbb0 Updated APPEND function to remove duplicate code 2025-01-29 22:22:25 +01:00
adrien 15ec304fe1 APPEND work, need to check next array manipulation 2025-01-27 20:38:03 +01:00
adrien baf6cd2284 Added some log and started testing array manip. Fixed some errors already 2025-01-25 21:15:04 +01:00
adrien 78e8b67b80 Moved benchmark and test to src. Implemented array without testing yet 2025-01-25 19:11:01 +01:00
adrien 6fa8d6b7c6 Opti
Bring test back

Removed useless arena, making like 40% perf improv

Removed shared Loc
2025-01-23 17:31:14 +01:00
adrien 98f0c69e61 SOLVED THREAD BUG
Needed a thread safe alloc. Will need to update other part as I just did
parseEntities and deleteEntities
2025-01-22 22:34:46 +01:00
adrien f05696a924 Removed max_file from SyncContext to use work group
Now instead of create a context with the number of file to parse and
check every x millisecond if it is complete, I use work group. For each
file, I spawn a thread in the group and then I call wg.wait()
2025-01-22 18:24:02 +01:00
adrien 7c34431702 Error found!!
Got an error that I could find for a while. It was when parsing a lot of
files.

Turn out it was the Thread Pool or something because if I run on 1 core,
it's ok.

Different thing in this commit, I just want to freeze a state that
benchmark work.
2025-01-22 11:34:00 +01:00
adrien abe9445d72 Compilable array manipulation, still some errors 2025-01-20 19:56:29 +01:00
adrien 14ea22dad6 Added a map with just the zero UUID in memory
So I dont need to create a map everytime I have a orders=none
2025-01-16 22:49:36 +01:00
adrien 6bd3782e1e Now string with \n are written in triple quote 2025-01-16 22:34:39 +01:00
adrien a09a368528 Removed useless code and old comment 2025-01-16 22:34:19 +01:00
adrien d1b430a3d5 Removed some TODO and changer so now it parse all existing file
Before I was parsing all files, getting the max index then parsing from
0 to the max.

Byt now that I delete empty files, I need to parse only existing one.
2025-01-16 22:17:42 +01:00
adrien 6338cb6364 NewData ordered by default 2025-01-15 19:59:13 +01:00
adrien e848be94c1 Good docs update, stillo need some work. Need to take a step back and think 2025-01-14 22:48:50 +01:00
adrien 173b302976 Add number of file to db metrics 2025-01-14 22:31:55 +01:00
adrien c070723baa ziql moved into a dir and splited 2025-01-12 15:33:15 +01:00
adrien 1c8384dec6 Moved stuff into a schema dir and created empty dir 2025-01-12 11:50:22 +01:00