Commit Graph

243 Commits

Author SHA1 Message Date
Daniel Lemire ecbe1158ed Added testing for number parsing. 2018-09-27 20:26:27 -04:00
Daniel Lemire e4094afe08 Moving toward having number-parsing testing. 2018-09-27 17:38:15 -04:00
Daniel Lemire 7606a43aa9 Merge branch 'master' of github.com:lemire/simdjson 2018-09-26 23:36:19 -04:00
Daniel Lemire 1c8339297d With new number parser (faster!). Removing the dependency on the doubleconv library (which proves to be useless). 2018-09-26 23:35:33 -04:00
Geoff Langdale ccb3670c7c DEBUG mode fixes. 2018-09-27 13:10:33 +10:00
Daniel Lemire 6239b9c13e Overallocation 2018-09-26 14:20:28 -04:00
Geoff Langdale 9f91650e72 Remove old 4-stage path. 2018-09-26 15:22:55 +10:00
Geoff Langdale b9706d462c Minor cleanups. 2018-09-26 15:09:54 +10:00
Geoff Langdale 36fadde3c7 Minor twiddles. 2018-09-26 13:52:05 +10:00
Geoff Langdale 0d5797a827 Wrap the tape dump in debug code. 2018-09-26 13:28:16 +10:00
Geoff Langdale e9586b6b4d Very first char is considered to follow "whitespace" for pseudo-structural character detection purposes 2018-09-26 13:27:39 +10:00
Geoff Langdale 35503f1d8f Oops noisy. 2018-09-26 13:21:05 +10:00
Geoff Langdale fa6c8990ff Added a terrifying hack to append a idx-to-0-char to stage 2 output. 2018-09-26 13:20:08 +10:00
Geoff Langdale c4c51627d3 Fix compile - jsonparser needs to include unified header 2018-09-26 11:33:35 +10:00
Geoff Langdale 682c224d1a Merge branch 'master' of https://github.com/lemire/simdjson 2018-09-26 11:29:23 +10:00
Geoff Langdale b0c05c03cc Fix linkage between call sites and headers, add dump code, cleanup 2018-09-26 11:28:22 +10:00
Daniel Lemire dee1bbe54e Integrating the new 3-stage approach. 2018-09-25 17:26:58 -04:00
Daniel Lemire cb26dc9c7b Creating a unified binary 2018-09-25 17:20:54 -04:00
Geoff Langdale 555926849d Bug cleanup (many vestiges of old 32-bit tape stil there) and more encapsulation of tapes. 2018-09-25 16:24:39 +10:00
Geoff Langdale 8b2d00a337 Bug fix for ,] issue and cleanup. 2018-09-25 15:35:17 +10:00
Geoff Langdale 64d07cd04c Fix bug where strings were not parsed on 2nd and subsequent key:value pairs. 2018-09-24 15:16:22 +10:00
Geoff Langdale 77bfe6c984 Fix some bad messages and the failure to parse key strings. 2018-09-24 10:54:29 +10:00
Geoff Langdale 2a46b40457 Adding new stage34, a more straightforward replacement for stage 3 and 4 using a DFA and explicit stack 2018-09-24 10:44:05 +10:00
Geoff Langdale 01f191e5eb Merge branch 'master' of https://github.com/lemire/simdjson 2018-09-24 10:43:10 +10:00
Geoff Langdale 053f04b15d Crude first cut of "stage34", a unified code-based DFA with explicit stack for stages 3 and 4. 2018-09-24 10:42:30 +10:00
Daniel Lemire 9d4f9e46f9 Some comments. 2018-09-16 16:40:59 -04:00
Daniel Lemire 2aa6b93a02 Using a naive strtoll 2018-08-28 22:37:11 -04:00
Daniel Lemire 0b2f9747f8 Check that numbers starting with 0 are followed by decimal, e, E or
they just end the number (0). Note that we allow -0. I guess.
2018-08-28 20:41:55 -04:00
Daniel Lemire e104c020ef Versions of the code that use Google DoubleConv. 2018-08-24 20:49:45 -04:00
Daniel Lemire 6807abff96 Made the code safer (at the expense of the memory usage). 2018-08-24 13:20:20 -04:00
Daniel Lemire 94ea7cefb0 Moving include files into a sensible subdirectory. 2018-08-20 17:51:38 -04:00
Daniel Lemire 262a68ba8f Removing old code. 2018-08-20 17:42:09 -04:00
Daniel Lemire ef0d14c35c Minor fixes + new scripts. 2018-08-20 17:40:50 -04:00
Daniel Lemire e76d25425a Another missing file. 2018-08-20 17:30:30 -04:00
Daniel Lemire f814bf6eab Mising file. 2018-08-20 17:30:00 -04:00
Daniel Lemire fb65be64bb Major surgery. 2018-08-20 17:27:25 -04:00
Daniel Lemire 726eb5a030 Moved the files into subdirectories. 2018-08-20 14:45:51 -04:00
Daniel Lemire d204e54170 Moving tests to a separate file and directory. 2018-08-17 19:57:31 -04:00
Daniel Lemire 01ea7996b2 Avoiding undefined behaviors (nit picking) 2018-08-14 17:52:15 -04:00
Geoff Langdale 0c8b4a9f12 Preliminary clean. Still pretty gross. 2018-08-07 17:24:05 +10:00
Geoff Langdale 652dd2f2c6 We now check the state machines are not left in bogus states. 2018-07-30 10:40:25 +10:00
Geoff Langdale 847aa1ebab Fixed case where we finish at wrong depth. Quieted some chatter. 2018-07-30 10:20:01 +10:00
Daniel Lemire 7fe52e0fbe Histograms and more widths 2018-07-29 13:09:47 -04:00
Daniel Lemire 96991e7623 Fix linux specific issue. 2018-07-28 21:17:54 -04:00
Daniel Lemire 52fdd7ce2b Double conv. can now be enable for debugging purposes. 2018-07-28 21:13:09 -04:00
Daniel Lemire f7531d6a81 Moved rapidjson (makefile adaptation). 2018-07-28 20:38:23 -04:00
Daniel Lemire 31dd75e620 Moved rapidjson. 2018-07-28 20:27:23 -04:00
Daniel Lemire 3e776bc53e Fixed order of dependencies. 2018-07-28 20:26:13 -04:00
Daniel Lemire e80e8ab547 Added Google double conversion. 2018-07-28 20:18:56 -04:00
Daniel Lemire e6a8c393c4 No need for the ugly unroll loop, but requires some macro magic. 2018-07-28 18:31:46 -04:00