aboutsummaryrefslogtreecommitdiffstats
path: root/tests/specs/json/n_number_2.e-3.json
Commit message (Collapse)AuthorAgeFilesLines
* Research 140, 027's stage 2a measured: whether bytes are JSON (aup's ↵eunhhu7 days1-0/+1
examples/json.aup, 80 lines against the same design's 90 in Python): JSONTestSuite's 95 y_ cases taken and 188 n_ refused, 21 of the 35 i_ taken, the three paths alike, in make check (module_specs, the 316 small cases in tests/specs/json under their MIT license, the two large ones made and hashed); 116 times C's time and 1.2 times plain Python's (299 ns a byte, 339 instructions); && and || made to decide alone (writing it, i < n && d[i] read past the end) with AND and OR kept where the right side cannot fail, every other module byte for byte the same; SHA-256 again with formats and joined bytes, 42 lines and 159 times C