Commit Graph

19903 Commits

Author SHA1 Message Date
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
Joe Bryan
4a7ad95e14 ur: rewrites ur_bsr_tag(), adds tests 2020-08-21 15:33:04 -07:00
Joe Bryan
d130633732 ur: uses ur_bsr_rub_log() in ur_bsr_mat, moves ur_bsr_zeros() into tests 2020-08-21 15:33:04 -07:00
Joe Bryan
1a89c71e96 ur: adds ur_bsr_rub_log and tests, fixes ur_bsr_zeros() 2020-08-21 15:33:04 -07:00
Joe Bryan
e09ba7e8ee ur: fixes typos in tests 2020-08-21 15:33:04 -07:00
Joe Bryan
b3c644930a ur: use new ur_bsr*_any functions in ur_cue() 2020-08-21 15:33:04 -07:00
Joe Bryan
5a8043f620 ur: clean up ur_bsr8_any() 2020-08-21 15:33:04 -07:00
Joe Bryan
a7ac76d5e7 ur: cleans up ur_bsrN_any tests 2020-08-20 23:44:04 -07:00
Joe Bryan
4d1bb97f36 ur: adds ur_bsr_bytes_any(), for bit-indexed byte reads 2020-08-20 23:43:59 -07:00
Joe Bryan
b117ca25a6 ur: fills out bistream-write (ur_bsw*) interface 2020-08-19 19:12:01 -07:00
Joe Bryan
c5bbe9e441 ur: rewrites ur_bsw_bytes to be bit-indexed 2020-08-19 18:37:01 -07:00
Joe Bryan
79363d66a8 ur: refactors bit-stream bounds-enforcement and growth 2020-08-19 18:37:01 -07:00
Joe Bryan
4aa1dbe4a2 ur: adds ur_bsw_bex() and tests 2020-08-19 18:36:56 -07:00
Joe Bryan
0f3731a40c ur: adds initial tests for bitstream-read functions (ur_bsr*) 2020-08-19 10:19:28 -07:00
Joe Bryan
d4522adb0c ur: moves slow8/32/64 write functions into tests 2020-08-19 10:19:28 -07:00
Joe Bryan
572a0d2c91 ur: adds ur_bsw32() 2020-08-17 22:03:55 -07:00
Joe Bryan
5b0c1320fb ur: refactors ur_bsw8 and ur_bsw_bytes internals 2020-08-17 22:03:55 -07:00
Joe Bryan
a9d2a29bf2 ur: rewrites _bsw64_unsafe() for efficiency 2020-08-17 22:03:49 -07:00
Joe Bryan
9282247ba5 ur: adds tests for bitstream write functions (ur_bsw*) 2020-08-17 21:57:02 -07:00
Joe Bryan
e160620256 ur: refactors jam/cue tests 2020-08-17 15:36:01 -07:00
Joe Bryan
509c074445 ur: implements cue 2020-08-14 11:48:13 -07:00