Commit Graph

161 Commits

Author SHA1 Message Date
8e00e636b7 Remove auto network thread thing 2025-08-18 14:08:30 -04:00
78e3845130 Graceful shutdown and config 2025-08-18 14:03:51 -04:00
224d2cf708 Updates for Claude 2025-08-18 13:45:04 -04:00
faaf750f87 TCP echo server 2025-08-18 13:33:58 -04:00
8d99ee9a5b Implement std::random_access_iterator_tag 2025-08-18 12:51:50 -04:00
0920193e5c Claude's docstrings 2025-08-18 12:47:24 -04:00
085e3c3fce Claude's comments 2025-08-18 12:45:28 -04:00
b8891eee29 Add ThreadPipeline.h 2025-08-18 12:42:54 -04:00
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
34ebf5725f Simplify public headers more 2025-08-17 16:38:38 -04:00
8862fdd588 Update documentation 2025-08-17 16:11:28 -04:00
fff7d67605 Fix naming inconsistency between code and markdown 2025-08-17 16:04:42 -04:00
cca6a93c0e Simplify and clean up 2025-08-17 15:53:37 -04:00
ed84e4b54c Fix debug warnings 2025-08-17 15:41:51 -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
db2285dfda Remove unused header 2025-08-17 15:32:54 -04:00
0b7c29f151 Use consistent style in data callbacks 2025-08-17 15:32:54 -04:00
6775276e73 Tinkering with gperf options 2025-08-17 15:32:54 -04:00
ce9d7db277 Use gperf - not faster yet 2025-08-17 15:32:54 -04:00
5ffef98e3d Fix formatting 2025-08-15 22:49:18 -04:00
f890172431 Generic config parsing utilities 2025-08-15 22:48:40 -04:00
c55c9f6cd9 Remove stack, just use state machine 2025-08-15 21:55:08 -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
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
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