Commit Graph

14 Commits

Author SHA1 Message Date
Adrian Conlon
76c03bb4d4 Tidy up header usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:42:43 +01:00
Adrian Conlon
f8b5045f99 Use string_view from simdjson. Interesting speed up.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:15:10 +01:00
Adrian Conlon
17b71aafc3 Refactor to share JSON implementation details.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 13:10:23 +01:00
Adrian Conlon
0deb37ab19 More JSON code simplifications.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-20 23:06:42 +01:00
Adrian Conlon
b70f24a581 Draw an end to my json experimentations. simdjson is king. long live simdjson!
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-20 21:44:43 +01:00
Adrian Conlon
5d66d1aac3 Remove fancy iterator shenigans from simdjson usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-19 16:53:10 +01:00
Adrian Conlon
710c8fb883 Refactor the ram_t class to be a container of byte_t
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-19 09:28:13 +01:00
Adrian Conlon
2be190af19 Couple of small consistency changes in the rapidjson implementation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-19 00:59:02 +01:00
Adrian Conlon
91bd04a278 Add support for rapidjson parsing
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-19 00:39:26 +01:00
Adrian Conlon
dc0fc262a2 More micro-optimisations. 2021-10-18 20:40:13 +01:00
Adrian Conlon
357e51c09a Clarify some (no) exception specifications.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-18 17:19:28 +01:00
Adrian Conlon
f62e8c30a2 Remove some unneeded default constructors.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-18 13:22:06 +01:00
Adrian Conlon
fa50f74508 Tidy the previous cycle parsing refactor and reset to a simdjson pukka run.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-18 12:07:24 +01:00
Adrian Conlon
79f3e3ac6c Refactor the code to isolate the cycles parsing. Interesting speed up!
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-18 11:54:01 +01:00