Commit Graph

23 Commits

Author SHA1 Message Date
f4cbfc0c4f Abort instead of calling std::bad_alloc 2025-08-18 11:04:45 -04:00
b5cb4d2a81 Reorganize
Test-only code to tests
Rename interface to CommitRequestParser
2025-08-18 06:38:18 -04:00
34b5de1744 Use reference parser for tests 2025-08-18 06:27:24 -04:00
9e397d19c9 Make codebase consistent with design.md 2025-08-17 17:00:23 -04:00
519c9457cd Only pass CommitRequest to begin_streaming_parse 2025-08-17 15:32:54 -04:00
67ddcd0fc8 Remove has_read_version_been_set_ from CommitRequest 2025-08-17 15:32:54 -04:00
fa2a2e4427 Decouple parser from CommitRequest 2025-08-17 15:32:54 -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
abea5cd8cd realloc_raw 2025-08-15 13:45:05 -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
28fa96011f Arena debug visualization 2025-08-15 10:47:40 -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
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
e1c47881a6 Don't traverse to count; fix memory leak in reset 2025-08-14 11:57:17 -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