Commit Graph

19923 Commits

Author SHA1 Message Date
Joe Bryan
8eb8a142a6 ur: adds explanatory comments to ur_tests.c 2020-09-02 18:50:45 -07:00
Joe Bryan
f45dfaed36 ur: refactors and adds comments to hashcons.h 2020-09-02 18:50:45 -07:00
Joe Bryan
f49963ffcf ur: refactors and adds comments to bitstream.h 2020-09-02 18:50:40 -07:00
Joe Bryan
f6bd14c7c6 ur: cleans up and comments defs.h 2020-09-02 15:44:05 -07:00
Joe Bryan
d676d034cc vere: refactors ipc-framing api (newt.c) 2020-09-01 14:38:49 -07:00
Joe Bryan
1839384d52 u3: refactors ivory-pill boot 2020-09-01 14:20:07 -07:00
Joe Bryan
2897feeea3 u3: removes obsolete portable snapshot implementation 2020-09-01 13:59:20 -07:00
Joe Bryan
7d541b5a1f u3: refactors mmap read/write patterns in urth.c 2020-09-01 13:55:46 -07:00
Joe Bryan
f0dd6dc7a6 u3: refactors u3s_cue_xeno, declares u3s_cue_xeno_unsafe() 2020-09-01 11:44:59 -07:00
Joe Bryan
b01d57eb30 u3: distinguish bad backreferences, enforce 62-bit cursors in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
fd5edcb6b6 ur: distinguish bad backreferences from other failures in cue 2020-08-31 18:06:42 -07:00
Joe Bryan
612df9541f ur: documents jam/cue invariants, enforces cue 2020-08-31 18:06:42 -07:00
Joe Bryan
4128b19d91 ur: adds ur_bsr_init() to check 64-bit bitwise-addressing overflow 2020-08-31 18:06:42 -07:00
Joe Bryan
4387c3e2d8 ur: adds ur_bsr_skip_any() and tests, uses in ur_cue_test() 2020-08-31 18:06:42 -07:00
Joe Bryan
c123e9413a ur: refactors ur_bsr_bytes_any(), fixes edge-case bugs 2020-08-31 18:06:38 -07:00
Joe Bryan
bb136b7981 ur: updates ur_bsr_bytes_any() test (failing) to cover off-the-end edge-cases 2020-08-31 15:55:45 -07:00
Joe Bryan
7fa6499e37 build: updates benchmarks 2020-08-28 16:04:25 -07:00
Joe Bryan
6f3d83f4dc ur: adds ur_jam_unsafe() 2020-08-28 16:04:25 -07:00
Joe Bryan
7b42f540b4 ur: fixes buffer over-read bugs in bitstream in tests 2020-08-28 16:04:25 -07:00
Joe Bryan
1ea8e73104 build: adds microbenchmark for virtualized cue 2020-08-28 16:04:25 -07:00
Joe Bryan
f6042e440f u3: removes double atom allocation in u3s_cue_bytes() 2020-08-28 16:04:25 -07:00
Joe Bryan
daf463c4be ur: fixes a buffer over-write in ur_bsr_bytes_any() 2020-08-28 16:04:25 -07:00
Joe Bryan
b9fd36e47b u3: removes u3s_cue_smol, hoped-for performance never materialized 2020-08-27 23:45:30 -07:00
Joe Bryan
4eb3e1217e u3: fixes indirect-atom allocation bug in u3s_cue_smol/full 2020-08-27 23:45:30 -07:00
Joe Bryan
851f03294d build: adds jam/cue microbenchmarks (make bench) 2020-08-27 23:45:25 -07:00
Joe Bryan
899f431284 ur: cleans up hashtable grow, adds consistent wipe operations 2020-08-27 23:42:07 -07:00
Joe Bryan
aee89f6a64 ur: removes trailing whitespace in tests 2020-08-27 23:42:07 -07:00
Joe Bryan
5b9c48c3fd u3: adds jam/cue roundtrip tests of new implementations 2020-08-27 23:42:02 -07:00
Joe Bryan
9addb545c0 u3: refactors jam_tests to run all and capture results 2020-08-27 15:14:52 -07:00
Joe Bryan
baf8b884fa u3: adds u3s_jam_xeno() 2020-08-27 15:14:53 -07:00
Joe Bryan
ac7d0731f6 u3: adds u3s_cue_smol/full/bytes/atom 2020-08-27 15:14:32 -07:00
Joe Bryan
dd8a74cea2 u3: replaces u3_serf_uncram with u3u_uncram() 2020-08-27 12:52:19 -07:00
Joe Bryan
24b91af888 u3: refactors _cu_rock_save(), splitting out path/directory format/creation 2020-08-27 12:52:19 -07:00
Joe Bryan
11e7afdefc u3: adds u3s_cue_xeno() 2020-08-27 12:52:19 -07:00
Joe Bryan
1da0c6d353 ur: removes higher-ordered cue traversals 2020-08-26 16:18:55 -07:00
Joe Bryan
e964e4a1fb ur: reimplements ur_cue/_unsafe directly 2020-08-26 16:13:08 -07:00
Joe Bryan
43bd092476 ur: reimplements ur_cue_test() directly 2020-08-26 16:13:08 -07:00
Joe Bryan
6f93ec3aa5 ur: implements ur_dict_get/put, cleans up ur_dict*_t handling 2020-08-26 16:13:08 -07:00
Joe Bryan
0420bf9aa5 ur: adds additional fibonacci constants 2020-08-26 16:13:08 -07:00
Joe Bryan
88f58d3f01 ur: fixes serial.h includes 2020-08-26 16:13:08 -07:00
Joe Bryan
177432f914 ur: adds 32-bit ur_cue traversal, ur_cue_test validator 2020-08-26 16:01:43 -07:00
Joe Bryan
63d36b4e75 ur: fixes bug in ur_bsr_bytes_any pointer math, adds tests 2020-08-26 16:01:43 -07:00
Joe Bryan
8d5adc8bc1 ur: refactors ur_cue() into higher-order traversal 2020-08-26 16:01:43 -07:00
Joe Bryan
5dca7bd620 u3: implements u3u_cram() 2020-08-26 16:01:43 -07:00
Joe Bryan
9c008c269b u3: refactors u3u_uniq() 2020-08-26 16:01:43 -07:00
Joe Bryan
8a3b2fc061 ur: refactors ur "library" into separate modules 2020-08-26 16:01:36 -07:00
Joe Bryan
096677a3c3 ur: distinguish "meme" (exceeds memory repr) errors in ur_bsr* and ur_cue* functions 2020-08-21 15:33:04 -07:00
Joe Bryan
753a3ea9a5 ur: removes superceded functions: ur_bsr64 and ur_bsr_bytes 2020-08-21 15:33:04 -07:00
Joe Bryan
66970a01e1 ur: refactors ur_bsr_bit* functions 2020-08-21 15:33:04 -07:00
Joe Bryan
6e3dade9a6 ur: improves ur_bsr_sane() 2020-08-21 15:33:04 -07:00