Commit Graph

194 Commits

Author SHA1 Message Date
Daniel Lemire e6a8c393c4 No need for the ugly unroll loop, but requires some macro magic. 2018-07-28 18:31:46 -04:00
Daniel Lemire ecf78d7249 Forgot to save this... 2018-07-28 18:29:09 -04:00
Daniel Lemire 77febdd006
adding fef 2018-07-28 15:23:55 -04:00
Daniel Lemire a0c545e2c4 Being systematic about the flattening. 2018-07-26 16:36:35 -04:00
Daniel Lemire 93f4e1d9b4 Adding validating step. 2018-07-25 22:59:40 -04:00
Daniel Lemire 460b971473 Fixing bug in new despacer. 2018-07-25 22:03:06 -04:00
Daniel Lemire f46d0a9f88 The vector decoding stuff is a net loss 2018-07-25 21:17:21 -04:00
Daniel Lemire fd2ae7e3bd Fixing my vecdecode finisher. It was garbage. 2018-07-25 19:27:47 -04:00
Geoff Langdale 59bfb807e1 Merge branch 'master' of https://github.com/lemire/simdjson 2018-07-24 14:42:53 +10:00
Geoff Langdale fe9c79df9d Updated some performance evaluation code. 2018-07-24 14:41:45 +10:00
Daniel Lemire a65066e962 Trimming the table approach. 2018-07-20 09:20:34 -04:00
Daniel Lemire 41d2914a3b Flagging a problem. 2018-07-18 22:36:41 -04:00
Daniel Lemire cae582232f Adding benchmark. 2018-07-18 22:34:41 -04:00
Daniel Lemire 95ed58be44 Doing a sensible benchmark 2018-07-18 19:59:29 -04:00
Daniel Lemire d2258994e3 Silencing warning. 2018-07-13 22:46:34 -04:00
Daniel Lemire b4fc981447 Making vecdecode a header file. 2018-07-13 22:30:12 -04:00
Daniel Lemire f9534a283a Adding missing file. 2018-07-13 22:23:18 -04:00
Daniel Lemire f31ddf7846 Adding vectorized decoder. 2018-07-13 22:22:30 -04:00
Daniel Lemire 272ea832b7
new ref. 2018-07-02 14:01:57 -04:00
Geoff Langdale 9ed3a4a735 Fix memory leaks so valgrind runs silent. 2018-05-31 16:45:42 +10:00
Daniel Lemire 39e1169e8b Adding scalar minifier. 2018-05-31 00:23:14 -04:00
geofflangdale 0f3d335755
Merge pull request #13 from lemire/simplerwhitespace
Trying simplier white space.
2018-05-31 13:50:47 +10:00
Geoff Langdale b824ba5d99 Issues #2 and #3 solved and the safety issues raised in my followup comments also resolved. 2018-05-31 13:26:24 +10:00
Daniel Lemire 74d1680e7e Trying simplier white space. 2018-05-30 23:05:18 -04:00
Geoff Langdale eece51c4fd Dammit switching off DEBUG mode 2018-05-31 12:46:28 +10:00
Geoff Langdale d820829e88 Switching to thicker tape as per https://github.com/lemire/simdjson/issues/4 2018-05-31 12:41:37 +10:00
Daniel Lemire f5a0346192 minifier can accelerate JSON so much that it is worth it ... 2018-05-27 22:30:22 -04:00
Daniel Lemire 43f871e761 Merge branch 'master' of github.com:lemire/simdjson 2018-05-27 21:50:29 -04:00
Daniel Lemire 9cc00ab584 AVX minifier coded (first version). 2018-05-27 21:15:11 -04:00
Daniel Lemire fcc0391b58
saving... 2018-05-15 20:38:07 -04:00
Geoff Langdale 4ac426b61b Finished code for Unicode escaping; PoC only 2018-05-14 21:08:46 +10:00
Geoff Langdale e28af20593 Add a 'code sketch' for Unicode escapes; incomplete 2018-05-14 16:38:38 +10:00
Geoff Langdale 624b3d8742 Cleanups. 2018-05-14 10:17:00 +10:00
Geoff Langdale 88b0edd60f Partial completion on numbers and string normalization. 2018-05-11 14:45:54 +10:00
Daniel Lemire 3c46aa47ce Adding more benchmarks. 2018-05-08 12:37:21 -04:00
Daniel Lemire 5835b77a00 Adding version with string validation. 2018-05-08 12:29:08 -04:00
Geoff Langdale 750978bef9 Early (rough as guts) implementation of string normalization. 2018-05-08 16:28:54 +10:00
Geoff Langdale 77d8caa332 Allow a -DSQUASH_COUNTERS to suppress counters at build time (e.g. for using other tools like toplev) 2018-05-07 21:33:23 +10:00
Geoff Langdale 1df475a5ea Tiny opt changes to avoid 4K aliasing and loop bound recalc. 2018-05-07 20:45:51 +10:00
Geoff Langdale 8733686fc0 Rotation of our offsets for [] and {} on tapes, to make them navigable. Balancing []/{} moved to stage 4. Prefetch tweaks in stage 1. 2018-05-07 17:26:44 +10:00
Geoff Langdale 0fec86d105 Removed memcmp and replaced with masked compare. 2018-05-05 20:39:43 +10:00
Geoff Langdale 76ad40272e Removed close quotes from structural list; homogenized tape writes sizes (now always 4 or 0). Some tuning. 2018-05-05 14:44:31 +10:00
Geoff Langdale 5cd7813f6d Merge branch 'master' of https://github.com/lemire/simdjson 2018-05-03 21:42:53 +10:00
Geoff Langdale e78e7687d6 Adding a nominal stage 4. 2018-05-03 21:42:16 +10:00
Daniel Lemire b918ccf238
RapidJSON does not like SSE. 2018-05-02 21:19:55 -04:00
Daniel Lemire d29e0b4dcf Adding a "numbers" file. 2018-05-02 21:12:40 -04:00
Daniel Lemire 2c022e9267 Saving... (SIMD is not good for rapidjson) 2018-05-02 20:59:22 -04:00
Daniel Lemire b52bcfb84e Avoiding stackoverflow. 2018-05-02 19:59:26 -04:00
Geoff Langdale 237d83885d Fixed display bug (cycles <-> instructions), tweak performance. 2018-05-01 19:05:31 +10:00
Geoff Langdale 232607278a Tapes now self-describing. Introduced temporary limit of 16MB (2^24) file size (fix later w. streaming) 2018-05-01 10:39:26 +10:00