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

325 commits

Author SHA1 Message Date
Jason Volk
b0217fd371 ircd::json: Eliminate double-references; optimize ABI.
ircd::json: Inline trivial functions; value optimize.
2023-02-12 19:19:56 -08:00
Jason Volk
a308010a1b ircd::json: Fix utf16 surrogate pairing discernment.
ircd::utf16: Fix return value for unused lanes; use sentinel.
2023-01-31 01:48:12 -08:00
Jason Volk
0725db0431 ircd::json: Add prepend/append tools for arrays. 2022-07-13 22:48:14 -07:00
Jason Volk
7cb4e7a9d1 ircd::json: Use lowercase escaped control unicodes per matrix canonical. 2022-07-02 14:32:01 -07:00
Jason Volk
bd00907922 ircd::json: Allow literal null for array/object ::empty(); inline. 2022-06-30 14:21:50 -07:00
Jason Volk
23b1ea516c ircd::json: Optimize expressions; modernize grammars; various cleanup. 2022-06-17 21:34:02 -07:00
Jason Volk
c6e1f6c019 ircd::json: Fix reinterpret cast into ctrl_tab; cond uninit warning. 2022-06-17 21:11:54 -07:00
Jason Volk
f68e4886e8 ircd::json: Hoist various thread-locals for merging. 2022-06-17 21:11:54 -07:00
Jason Volk
401f61e564 ircd::json: Remove unit linkages for constant expression values. 2022-06-17 21:11:54 -07:00
Jason Volk
04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk
1055d66f94 Modernize various parser grammars; remove empty ctors. 2022-06-17 21:11:53 -07:00
Jason Volk
19ede0f625 ircd::json: Remove unnecessary global object linkage. 2022-06-17 21:11:53 -07:00
Jason Volk
71b1b44a7f ircd::utf: Rename encode() to encode_sparse(). 2021-08-08 09:47:02 -07:00
Jason Volk
5011e20c2e ircd::json: Attribute aadditional known hot functions. 2021-04-22 12:27:57 -07:00
Jason Volk
c526184508 ircd::json: Minor cleanup; simplify statement. 2021-04-22 12:27:57 -07:00
Jason Volk
59f9aca938 ircd::json: Relax fractional precision lexing. 2021-03-01 16:52:57 -08:00
Jason Volk
3621fe025a ircd::json: Fix masking around some skipped characters in the unescaper. 2021-02-26 14:52:33 -08:00
Jason Volk
972502fd19 ircd::json: Inline trivial array::empty(); label branch expect. 2020-12-10 08:34:22 -08:00
Jason Volk
b00a96d0ce ircd::json: Simplify grammars negated based on prior assumptions. 2020-11-27 18:31:18 -08:00
Jason Volk
f92f72cc73 ircd::json: Add proper utf16 surrogate unescape transform. 2020-11-13 21:08:31 -08:00
Jason Volk
a9c6c76467 ircd::json: Implement string unescaping; streaming transform. 2020-11-13 21:07:14 -08:00
Jason Volk
e20d1d48c4 ircd::json: Fix parallel transform over control sequence. 2020-11-11 22:49:39 -08:00
Jason Volk
5958e73ff8 ircd::json: Add integrated type-checking overloads to reduce call count. 2020-11-11 22:49:39 -08:00
Jason Volk
92b3ba4643 ircd::json: Minor simplify error message. 2020-11-05 22:10:53 -08:00
Jason Volk
ed5875c869 ircd::json: Remerge tool header with index header; use value argument. 2020-10-27 01:17:06 -07:00
Jason Volk
59495a74bf ircd::json: Fix unadjusted serial size for object::member property names. 2020-10-20 23:20:41 -07:00
Jason Volk
9b36a87741 ircd::json: Allow trailing valid whitespace in tight validator. 2020-10-16 02:40:39 -07:00
Jason Volk
c49e546be5 ircd::simd: Categorical interface renaming for stream related. 2020-10-10 00:43:59 -07:00
Jason Volk
de0650d3f7 ircd: Reorg simd.h / buffer.h interface dependency relationship. 2020-10-10 00:43:59 -07:00
Jason Volk
7f63dc07ef ircd::simd: Simplify stream template; deduce unaligned type. 2020-10-06 19:15:42 -07:00
Jason Volk
742c29500f ircd::json: Replace simd::lateral used at inefficient lane types. 2020-09-28 00:27:30 -07:00
Jason Volk
1276717be3 ircd::json: Add branch condition for number value to eliminate calls. 2020-09-27 15:44:53 -07:00
Jason Volk
30e5a0110c ircd::spirit: Add template id to custom_parser; add three specializations per unit for now. 2020-09-27 14:57:07 -07:00
Jason Volk
305aa691e7 ircd::json: Improve return count; add condition for noisy dwarning. 2020-09-18 22:09:56 -07:00
Jason Volk
d229f32a46 ircd::json: Fix double indirect call. 2020-09-18 18:47:15 -07:00
Jason Volk
1668bee2e5 ircd::json: Logical revert of a4766e583; reduces to minor cleanup/simplify. 2020-09-15 16:53:45 -07:00
Jason Volk
a4766e5834 ircd::json: Remove redundant type determination from value constructions. 2020-09-13 10:29:26 -07:00
Jason Volk
84564aee5f ircd::simd: Add a streaming transform boilerplate template for the common pattern.
ircd::simd: Add a streaming consumer boilerplate template for the common pattern.

ircd::json: Simplify w/ stream templates; update counter lane convention.
2020-09-09 04:47:27 -07:00
Jason Volk
023e1341a1 ircd::json: Only call _post_append() under nominal unwind. 2020-09-07 17:01:45 -07:00
Jason Volk
82308ee4b3 ircd::simd: Consolidate sum_ templates into lateral template template. 2020-09-05 14:34:48 -07:00
Jason Volk
dd610a0d6b ircd::json: Add faster backward branch without bitcounting in inner loop. 2020-09-03 21:14:43 -07:00
Jason Volk
68ffcea1fc ircd::json: Additional document comments; minor cleanup. 2020-09-03 21:14:43 -07:00
Jason Volk
f9e1b90b51 ircd::json: Add simd string component. 2020-08-31 16:21:19 -07:00
Jason Volk
1422b68666 ircd::spirit: Fix buffering strategy; fix align directive. 2020-08-28 05:18:57 -07:00
Jason Volk
77f858d27d ircd::simd: Use explicit instantiations w/ optimal conversions for lzcnt/tzcnt generation. 2020-08-23 02:32:54 -07:00
Jason Volk
99acb1bc15 ircd::json: Suppress uninitialized warning from recursive grammar reference. 2020-08-21 06:20:26 -07:00
Jason Volk
4376f4e353 ircd::json: Eliminate explicit load/store intrinsics; cleanup typedefs. 2020-08-07 02:14:27 -07:00
Jason Volk
9f09eb6581 ircd::json::value: Inline trivial indirections. 2020-08-05 17:27:54 -07:00
Jason Volk
ae2bc801f9 ircd::json: Optimize alternative order. 2020-07-24 22:37:30 -07:00
Jason Volk
1cf03d8608 ircd::json: Simplify trailing loop related. 2020-07-22 05:00:36 -07:00