Commit Graph
100 Commits
Author SHA1 Message Date
adrien 2021f95ffd Update roadmap 2025-02-12 16:51:07 +01:00
adrien fe2f407b7f Added empty test for later 2025-02-12 16:42:14 +01:00
adrien ca5d806f0b Changed a bit test and removed comments 2025-02-12 16:39:35 +01:00
adrien d7b8dec378 Fix
Start index still change if the member name is not right, otherwise run
in loop forever
2025-02-12 16:39:18 +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 84f5749aa2 Fix
Now str array don't take ' on both side when creating the array,
otherwise I compare Bob with 'Bob' and it don't work
2025-02-12 14:53:39 +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 b7878227e9 Better readme and docs 2025-02-12 10:19:34 +01:00
adrien 45622e3d3a Update readme 2025-01-04 18:38:40 +01:00
adrien 24fccc6487 Update readme 2025-01-04 18:37:20 +01:00
adrien 19c097717a a 2025-02-10 11:53:19 +01:00
adrien adf39be133 2 small fix 2025-01-31 18:49:44 +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 30a7a83e56 Update some docs 2025-01-30 21:21:02 +01:00
adrien b28970f26a Added some bullshit in about 2025-01-30 20:28:03 +01:00
adrien f02a1e3e01 Squeleton for single file 2025-01-30 20:22:49 +01:00
adrien e0d4840123 Moved quickstart doc out of learn 2025-01-30 20:22:24 +01:00
adrien b2d05edbee Added REMOVE and REMOVEAT test 2025-01-30 20:22:07 +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 cb250bbcd0 Small opti 2025-01-27 20:38:14 +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 4066803ecd Small update on index and README 2025-01-25 19:13: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 a476cef2df Changed release github action to use release Small and stop making a .zip, it is small enough 2025-01-25 19:09:59 +01:00
adrien c3db03fe4c Small doc update 2025-01-23 17:31:55 +01:00
adrien b2bd1e373b Updated lib config and small stuff 2025-01-23 17:31:41 +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 ebf91bb61c If config.CPU_CORE == 0, use the cpu count of processor 2025-01-22 10:29:54 +01:00
adrien 1ca2fc5470 Updated docs and roadmap 2025-01-20 19:56:44 +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 a16c9b29c1 Update README and doc 2025-01-16 20:45:58 +01:00
adrien 154a146678 Missing from previous commit 2025-01-16 20:45:50 +01:00
adrien a9c39d9aa5 Renamed paarser.core to ziql.parser 2025-01-16 20:45:30 +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 9ae9b65f1e Rename ziql to parser 2025-01-14 22:42:11 +01:00
adrien dff7ead5b1 . 2025-01-14 22:33:01 +01:00
adrien 26bbe0d0f9 . 2025-01-14 22:32:42 +01:00
adrien 672d79cbea Add config and schema for benchmark 2025-01-14 22:32:31 +01:00
adrien 173b302976 Add number of file to db metrics 2025-01-14 22:31:55 +01:00
adrien 77e1197894 Custom color for docs 2025-01-14 15:15:26 +01:00
adrien 425401d764 Change image and doc name 2025-01-14 13:43:48 +01:00
adrien 3a6a0e202b Update image 2025-01-14 13:42:22 +01:00
adrien 58bbc44119 Add transparent logo 2025-01-14 10:58:48 +01:00
adrien a5e957c05a Release for every tag now 2025-01-14 10:54:32 +01:00
adrien e818700905 Use try 2025-01-13 20:06:16 +01:00
adrien 1031e767bc Deleted logo dir and moved new logo to docs images 2025-01-13 20:04:05 +01:00
adrien bfb7533ef9 Merge branch 'main' into v0.1.8 2025-01-13 20:01:50 +01:00
adrien eb0389464d Update logo 2025-01-13 20:01:22 +01:00
adrien e18a12aefe Add simple SQL comparison 2025-01-13 10:56:53 +00:00
adrien 57f97e50ab Remove extension from zip name 2025-01-12 20:35:43 +01:00
adrien c6725f6b54 Fix stdout error 2025-01-12 20:28:35 +01:00
adrien 6ccfc7feb9 Send back to true and remove .pdb from release 2025-01-12 19:08:34 +01:00
adrien 35ca253dad Test 2025-01-12 18:32:25 +01:00
adrien d35b7a5e3e Fix ? 2025-01-12 18:27:12 +01:00
adrien c7024d70c4 Update release flow 2025-01-12 18:21:52 +01:00
adrien bd4cc98797 Release test 2025-01-12 17:16:16 +01:00
adrien 0b871ecc93 Add permision 2025-01-12 17:05:40 +01:00
adrien 374d724bba Update workflow 2025-01-12 16:52:26 +01:00
adrien d4d03f1b2c Typo 2025-01-12 16:42:38 +01:00
adrien f1a37648d3 Typo 2025-01-12 16:41:05 +01:00
adrien 574c616929 Rename workflow and remove arm in build release 2025-01-12 16:39:07 +01:00
adrien 7db5c5329a Update workflow 2025-01-12 16:34:59 +01:00
adrien 9b547e594e Update github action 2025-01-12 16:28:02 +01:00
adrien ff92cacc7c Auto release github action 2025-01-12 16:24:18 +01:00
adrien c070723baa ziql moved into a dir and splited 2025-01-12 15:33:15 +01:00
adrien 1f5da7a74b Created cli struct and dir 2025-01-12 12:37:07 +01:00
adrien 1c8384dec6 Moved stuff into a schema dir and created empty dir 2025-01-12 11:50:22 +01:00
adrien 83ff27c3f2 A bit better docs README 2025-01-12 01:41:42 +01:00
adrien 67546d69a9 Splited fileEngine into multiple files 2025-01-12 01:25:09 +01:00
adrien 955aff0d09 Moved global error to lib and fuse to a unique one 2025-01-12 00:37:57 +01:00
adrien c0e8b07025 Moved thread stuff into a directory 2025-01-12 00:11:03 +01:00
adrien d775ff1d0a Deleted stuffs dir for a dataStructure one 2025-01-11 23:41:03 +01:00
adrien bc0c0cbe1d Update benchmark and some stuff 2025-01-11 19:26:06 +01:00
adrien 13caff2fd7 Dump csv
Can now use command dump csv

Will see later to add json and zid format as well as loading it
2025-01-11 19:25:03 +01:00
adrien ee9d5c92f2 Some data struct now use file instead of = struct { 2025-01-11 19:24:15 +01:00
adrien 78213df3ff And other 2025-01-11 18:03:36 +01:00
adrien 90edb94f7a Same for schemaEngine 2025-01-11 17:58:52 +01:00
adrien d5f7309869 Same for ziqlParser 2025-01-11 17:57:19 +01:00
adrien 0f6f34e706 Moved fileEngine to use the root as struct 2025-01-11 17:55:56 +01:00
adrien bd4f0aab7f Removed some TODO, fix and typo 2025-01-11 16:52:19 +01:00
adrien 54146b9495 Add and remove UUID from index map
Now remove and add UUID in the sstruct map UUID -> File index
2025-01-11 16:08:46 +01:00
adrien 1495e779c9 Speed up date
Date was taking a long time for parsing when using ADD in batch, speeded
up by like x50
2025-01-11 15:27:17 +01:00
adrien 7d012b527f Write every 1000 map
Now if I run a big ADD query, write every 1000 entities to prevent a
maps array too big and go OOM
2025-01-11 13:50:32 +01:00
adrien 5300f932d5 Update README 2025-01-08 23:53:56 +01:00
adrien d533eaff98 Working multi struct schema with relationship!
Noce
2025-01-08 23:53:41 +01:00