Commit Graph

242 Commits

Author SHA1 Message Date
c55c9f6cd9 Remove stack, just use state machine 2025-08-15 21:55:08 -04:00
b67666b97a Update design.md 2025-08-15 20:39:45 -04:00
ea5da5fae1 Use size of current block for doubling, not total 2025-08-15 19:25:35 -04:00
9d18c0fcda Skip accumulating if all data is available 2025-08-15 19:19:49 -04:00
a119f5232b Use base64 from simdutf8 2025-08-15 16:51:30 -04:00
f6fbb3b3f0 Update docstrings 2025-08-15 16:35:16 -04:00
4e8d3a4c61 Separate arena for state during parsing 2025-08-15 15:19:24 -04:00
0f72aded89 Only show bytes that were actually used 2025-08-15 15:09:37 -04:00
42d42bdf39 Accurately track used bytes in Arena 2025-08-15 15:02:18 -04:00
9fdcae5098 Fix warning 2025-08-15 14:20:28 -04:00
3a508602f5 Make sure aligned_alloc args are valid 2025-08-15 14:14:55 -04:00
abea5cd8cd realloc_raw 2025-08-15 13:45:05 -04:00
9e7e3ed40a Use allocate in ArenaStlAllocator 2025-08-15 13:38:13 -04:00
8e33b477eb Make allocate take a template type
So we use the right alignment
2025-08-15 13:31:45 -04:00
52f0eeee1f Add ArenaAllocator::realloc 2025-08-15 12:30:05 -04:00
6c506a2ba2 Move most of arena_allocator.hpp out of the header 2025-08-15 11:36:40 -04:00
f1794bcb3e Add arena debug visualization tool 2025-08-15 11:25:10 -04:00
28fa96011f Arena debug visualization 2025-08-15 10:47:40 -04:00
0b9bd2e819 Use has_value instead of operator bool 2025-08-15 10:32:06 -04:00
469e44c6f6 Consolidate duplicate test data 2025-08-15 06:38:38 -04:00
a793db40f0 Compare with nlohmann/json 2025-08-14 23:09:29 -04:00
38c6e75f52 Add benchmark for parsing commit requests 2025-08-14 20:29:21 -04:00
ee5d14c4cd Clear key after matching on it 2025-08-14 16:49:20 -04:00
52381467f7 Bug fixes 2025-08-14 16:27:28 -04:00
7ca50350e7 WIP making Operation and Precondition smaller 2025-08-14 16:15:14 -04:00
176922e394 Validate operations and preconditions 2025-08-14 15:18:43 -04:00
40fa403ec5 More validation of commit request 2025-08-14 15:09:58 -04:00
ba1627ff10 Use same request for one shot and streaming examples 2025-08-14 15:03:30 -04:00
035bd8b068 Make json_callbacks a static class member 2025-08-14 15:01:09 -04:00
b3e504a6f9 Put summary in design.md 2025-08-14 13:10:39 -04:00
2c247fa75e Add ArenaStlAllocator, and use arena throughout CommitRequest 2025-08-14 13:05:05 -04:00
61ae8420a8 Initial attempt at parsing commit requests 2025-08-14 12:53:37 -04:00
9d4c08747c Require types used with construct are trivially destructible 2025-08-14 12:06:42 -04:00
ba827a71ce Add documentation 2025-08-14 12:02:48 -04:00
e1c47881a6 Don't traverse to count; fix memory leak in reset 2025-08-14 11:57:17 -04:00
34cd98e83e Intrusive linked list for arena allocator 2025-08-14 11:43:54 -04:00
8daea72a22 Simplify Arena benchmark 2025-08-14 11:35:15 -04:00
281e9d728b Initial arena benchmarks 2025-08-14 11:25:47 -04:00
b45fd1d29e Add arena allocator 2025-08-14 11:15:48 -04:00
a2eef4ce25 Add configuration from toml file 2025-08-14 10:59:10 -04:00
2106a336aa Add boilerplate 2025-08-14 10:46:08 -04:00
5fe2127a49 Initial commit 2025-08-14 10:27:52 -04:00