0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 16:00:57 +01:00
Commit graph

265 commits

Author SHA1 Message Date
Jason Volk
a021b496cd ircd::json: Use condition around __builtin_assume(). 2020-07-05 05:47:23 -07:00
Jason Volk
900f820a8c ircd::json: Use unicode surrogate for null escape stringify. 2020-07-05 03:54:03 -07:00
Jason Volk
687ce6efb2 ircd::json: Fix iteration increments; counting. 2020-07-05 03:54:03 -07:00
Jason Volk
255b23ed7d ircd::json: Eliminate maskmove; use matching temporal store. 2020-07-03 20:11:02 -07:00
Jason Volk
6a93a121f3 ircd::json: Optimize serialized(value) string case. 2020-07-03 18:19:13 -07:00
Jason Volk
0e6a6ea0b1 ircd::json: Replace char generator w/ new vectorized string streaming. (fixes #158) (fixes #159) 2020-07-03 16:35:28 -07:00
Jason Volk
3490eb89e8 ircd::json: Consistent quoted inputs to the printer. (related ea1c0dcae7) 2020-06-24 11:45:15 -07:00
Jason Volk
d456a42cdd ircd::json: Add stats items counting calls and cycles on input and output. 2020-06-24 11:00:11 -07:00
Jason Volk
c99ae124f4 ircd::json: Relax attributes on grammar templates. 2020-06-24 09:27:23 -07:00
Jason Volk
ff1d2c938c ircd::json: Simplify printer invocation template overloading. 2020-06-24 08:57:50 -07:00
Jason Volk
57e70512d0 ircd::json: Minor cleanup; simplify conditionals. 2020-06-23 00:55:16 -07:00
Jason Volk
ea1c0dcae7 ircd::json: Pass all string input through the grammar. 2020-06-23 00:54:48 -07:00
Jason Volk
e26b046940 ircd::json: Optimize character dfa w/ de-aliased output ref. 2020-06-20 05:41:14 -07:00
Jason Volk
63a7554c4a ircd::json: Ensure output is sorted on object::member array stringify; hoist tls buffers. 2020-06-20 05:41:14 -07:00
Jason Volk
59829f1a59 ircd::json: Relax number_frac limit more digits. 2020-06-17 23:22:39 -07:00
Jason Volk
43c6727492 ircd::json: Replace number rule w/ non-casting grammar. 2020-06-17 22:08:20 -07:00
Jason Volk
5ede78afe8 ircd::json: Memoize query for type. 2020-06-11 17:09:56 -07:00
Jason Volk
39e777e88f ircd::json: Add non-parsing number grammar for type derivation for now. 2020-06-11 17:09:55 -07:00
Jason Volk
24cb29d64c ircd::json: Relax expensive type query in serialized() suite. 2020-06-11 09:49:33 -07:00
Jason Volk
b59337eb78 ircd::spirit: Consolidate entry to spirit through wrapper templates.
ircd::spirit: More aggressive inlining of interface templates; symbol visibility
2020-06-11 03:51:49 -07:00
Jason Volk
d9f8e0d0ab ircd::json: Eliminate bool return for printer call. 2020-05-27 20:03:03 -07:00
Jason Volk
d58921f756 ircd::spirit: Add exceptions; move epsilon into generate abstraction; minor cleanup. 2020-05-27 20:03:02 -07:00
Jason Volk
b698f80067 ircd::spirit: Abstract common generator call into template. 2020-05-26 04:54:52 -07:00
Jason Volk
210dc94521 ircd::json: Add parenthesis around comparison. 2020-05-26 00:28:15 -07:00
Jason Volk
188e9b1c81 ircd::json: Rearrange branch blocks. 2020-05-26 00:04:09 -07:00
Jason Volk
f2f3e9a8a5 ircd::json: Workaround buffer_sink action. 2020-05-26 00:04:04 -07:00
Jason Volk
53b304cb7a ircd::json:🖨️ Make return an lvalue for leeward access. 2020-05-25 01:39:15 -07:00
Jason Volk
4b7dcd48a6 ircd::json: Optimize sequential alternative for individual characters. 2020-05-24 22:06:18 -07:00
Jason Volk
e5517735c3 ircd::json: Replace phrase_parse in type suite.
ircd::json: Tweak whitespace rules in type suite grammar.
2020-05-24 19:33:32 -07:00
Jason Volk
31dfedbcd7 ircd::json: Add suite for type optimized type query; refactor grammars. 2020-05-24 19:03:00 -07:00
Jason Volk
b137f59c5e ircd::json: Move type determination grammars out of primary input grammar. 2020-05-24 18:33:20 -07:00
Jason Volk
4ca481a5fc ircd::json: Use switch statement over enumeration in character_dfa. (related 24d73428c8) 2020-05-24 16:33:38 -07:00
Jason Volk
24d73428c8 ircd::json: Fix overzealous escape cases. (fixes #152) (fixes #17) 2020-05-24 15:32:40 -07:00
Jason Volk
875b8a01f1 ircd::json: Minor cleanup. 2020-05-20 17:16:23 -07:00
Jason Volk
8c2b203426 ircd::json: Simplify grammar instantiations. 2020-05-19 16:12:08 -07:00
Jason Volk
ec0471934a ircd::json: Minor simplifications.
ircd::rfc3986: Minor simplifications.

ircd::fmt: Minor cleanup.
2020-05-19 15:55:18 -07:00
Jason Volk
92a4322f3a ircd::json: Assertions on iterator increments. 2020-05-18 18:13:41 -07:00
Jason Volk
6e89ee4289 ircd::json: Consolidate validation grammars; optimize for boolean rule. 2020-05-18 18:12:34 -07:00
Jason Volk
005d1226b2 ircd::json: Consolidate type grammars; move outside functions; apply visibility. 2020-05-18 18:12:34 -07:00
Jason Volk
648d6e42b4 ircd::json: Inline vector::const_iterator related. 2020-05-18 18:12:34 -07:00
Jason Volk
d870385e6c ircd::json: Move vector static grammars outside function; apply visibility. 2020-05-18 18:12:34 -07:00
Jason Volk
1b90964630 ircd::json: Move array static grammars outside functions; apply visibility; remove branch. 2020-05-18 16:51:50 -07:00
Jason Volk
021e875b29 ircd::json: Reorg object grammars; fix visibility attribute; remove branch on begin(). 2020-05-18 15:28:35 -07:00
Jason Volk
a2f6acd73f ircd::json: Reduce branch mispredictions in linear_any alternative parser. 2020-05-13 05:01:22 -07:00
Jason Volk
226c8702e9 ircd::json: Additional internal visibilities. 2020-05-11 01:56:47 -07:00
Jason Volk
27146c471c ircd::json: Use rule::alias() for property name string. 2020-04-18 00:08:08 -07:00
Jason Volk
ca147df40f ircd::json: Cleanup visibility attributions for internal assets. 2020-04-17 20:17:33 -07:00
Jason Volk
f151eb2e6c ircd::json::object: Reuse/reorg member rule instance; out-of-line static durations. 2020-04-17 20:17:33 -07:00
Jason Volk
f288d4a816 ircd::json::stack::member: Fix critical assertion; use stack buffer. 2020-04-15 16:09:55 -07:00
Jason Volk
777ea844e7 ircd::json::stack::checkpoint: Trigger unforced flush from checkpoint dtor. 2020-04-15 16:09:55 -07:00