-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard export includes in every public header (#1303)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
20 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/evaluator/include/sourcemeta/jsontoolkit/evaluator_context.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/evaluator/include/sourcemeta/jsontoolkit/evaluator_error.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonpointer/include/sourcemeta/jsontoolkit/jsonpointer_error.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_anchor.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_bundle.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_compile.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_error.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_reference.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_resolver.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/jsonschema/include/sourcemeta/jsontoolkit/jsonschema_walker.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1f8309e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (macos/llvm)
JSON_Array_Of_Objects_Unique
3744.347395492898
ns/iter3524.4735654568276
ns/iter1.06
Compiler_Draft6_AdaptiveCard
4385005874.999933
ns/iter2950641499.9999604
ns/iter1.49
Evaluator_Draft4_Meta_1_No_Callback
815.4006179948369
ns/iter765.858422591543
ns/iter1.06
Evaluator_Draft4_Required_Properties
1020.2027507430499
ns/iter933.4179259934622
ns/iter1.09
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
163.2750773378874
ns/iter152.11738412611282
ns/iter1.07
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
129.62172458496516
ns/iter104.03532234549847
ns/iter1.25
Evaluator_Draft4_Items_Schema
2857.514006019123
ns/iter2637.8712793300565
ns/iter1.08
Evaluator_Draft4_Nested_Object
27.576311768757492
ns/iter23.52449118359853
ns/iter1.17
Evaluator_Draft4_Properties_Triad_Optional
1397.249282524177
ns/iter1315.9646994450834
ns/iter1.06
Evaluator_Draft4_Properties_Triad_Closed
1012.4670168982035
ns/iter975.1195987456857
ns/iter1.04
Evaluator_Draft4_Properties_Triad_Required
1337.7267537045823
ns/iter1348.3031815452437
ns/iter0.99
Evaluator_Draft4_Non_Recursive_Ref
227.36815983058673
ns/iter212.59035981158456
ns/iter1.07
Evaluator_Draft4_Pattern_Properties_True
1420.3377892113526
ns/iter1353.841369304453
ns/iter1.05
Evaluator_Draft4_Ref_To_Single_Property
108.02501573849497
ns/iter106.56729954044972
ns/iter1.01
Evaluator_Draft4_Additional_Properties_Type
412.77045836785663
ns/iter404.5404972901826
ns/iter1.02
Evaluator_Draft4_Nested_Oneof
372.34261879019726
ns/iter367.9497753030654
ns/iter1.01
Evaluator_Draft6_Property_Names
782.7082091811931
ns/iter783.5318242188841
ns/iter1.00
Evaluator_Draft7_If_Then_Else
169.62069197717125
ns/iter178.17315395495953
ns/iter0.95
Evaluator_2020_12_Dynamic_Ref
2914.6049452280754
ns/iter2954.559862047694
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.
1f8309e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/llvm)
JSON_Array_Of_Objects_Unique
1873.4954375670584
ns/iter1870.3187277091042
ns/iter1.00
Compiler_Draft6_AdaptiveCard
5107689445.999995
ns/iter5186515953.999958
ns/iter0.98
Evaluator_Draft4_Meta_1_No_Callback
1012.2152481013884
ns/iter982.9305306710622
ns/iter1.03
Evaluator_Draft4_Required_Properties
1625.179368296952
ns/iter1626.874154938542
ns/iter1.00
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
190.43118412165697
ns/iter188.90183361154433
ns/iter1.01
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
125.09706178396166
ns/iter124.11070953940852
ns/iter1.01
Evaluator_Draft4_Items_Schema
3699.794215534958
ns/iter3734.323508213844
ns/iter0.99
Evaluator_Draft4_Nested_Object
32.33934622992502
ns/iter32.051981160396984
ns/iter1.01
Evaluator_Draft4_Properties_Triad_Optional
1721.5405208586858
ns/iter1725.079881098483
ns/iter1.00
Evaluator_Draft4_Properties_Triad_Closed
1430.9629674229725
ns/iter1460.0907509554736
ns/iter0.98
Evaluator_Draft4_Properties_Triad_Required
1817.292393644624
ns/iter1805.164813363267
ns/iter1.01
Evaluator_Draft4_Non_Recursive_Ref
472.9279191717693
ns/iter472.24295487525006
ns/iter1.00
Evaluator_Draft4_Pattern_Properties_True
2366.944712178007
ns/iter2382.4437858418373
ns/iter0.99
Evaluator_Draft4_Ref_To_Single_Property
127.83822949345632
ns/iter125.60483243409766
ns/iter1.02
Evaluator_Draft4_Additional_Properties_Type
578.772668286691
ns/iter577.3783992926237
ns/iter1.00
Evaluator_Draft4_Nested_Oneof
497.71614926726363
ns/iter494.0700344479851
ns/iter1.01
Evaluator_Draft6_Property_Names
1222.196027661447
ns/iter1246.488919452931
ns/iter0.98
Evaluator_Draft7_If_Then_Else
211.21854625905326
ns/iter209.88590917471367
ns/iter1.01
Evaluator_2020_12_Dynamic_Ref
3268.740835536221
ns/iter3264.719156667398
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
1f8309e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (linux/gcc)
Evaluator_2020_12_Dynamic_Ref
3794.591816561471
ns/iter3813.918160527042
ns/iter0.99
Evaluator_Draft7_If_Then_Else
204.84167236091218
ns/iter215.30053465184264
ns/iter0.95
Evaluator_Draft6_Property_Names
1293.8806476739705
ns/iter1311.9087204335399
ns/iter0.99
Evaluator_Draft4_Meta_1_No_Callback
968.5442046145163
ns/iter945.82798259592
ns/iter1.02
Evaluator_Draft4_Required_Properties
1662.1132868027546
ns/iter1669.8251505216874
ns/iter1.00
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
180.10822533018055
ns/iter180.46260271649817
ns/iter1.00
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
124.43336005728378
ns/iter126.92111782939567
ns/iter0.98
Evaluator_Draft4_Items_Schema
3484.056714601152
ns/iter3531.3848283690627
ns/iter0.99
Evaluator_Draft4_Nested_Object
24.084384256116994
ns/iter27.757603041599932
ns/iter0.87
Evaluator_Draft4_Properties_Triad_Optional
1727.5318052520101
ns/iter1730.377135983718
ns/iter1.00
Evaluator_Draft4_Properties_Triad_Closed
1450.3111697556135
ns/iter1459.1538176267588
ns/iter0.99
Evaluator_Draft4_Properties_Triad_Required
1820.3952701634917
ns/iter1810.940010791519
ns/iter1.01
Evaluator_Draft4_Non_Recursive_Ref
534.673307304226
ns/iter516.5998498299572
ns/iter1.03
Evaluator_Draft4_Pattern_Properties_True
2203.094539102342
ns/iter2239.14848597188
ns/iter0.98
Evaluator_Draft4_Ref_To_Single_Property
126.28679745819171
ns/iter132.23776512464767
ns/iter0.95
Evaluator_Draft4_Additional_Properties_Type
587.6713833803865
ns/iter574.8973504880565
ns/iter1.02
Evaluator_Draft4_Nested_Oneof
456.458500491918
ns/iter459.92714274346577
ns/iter0.99
Compiler_Draft6_AdaptiveCard
5223344337.000072
ns/iter5213529884.999957
ns/iter1.00
JSON_Array_Of_Objects_Unique
1897.4765755708975
ns/iter1894.2779221562707
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
1f8309e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark (windows/msvc)
JSON_Array_Of_Objects_Unique
4861.711505991998
ns/iter4851.144509950205
ns/iter1.00
Compiler_Draft6_AdaptiveCard
10051556799.999958
ns/iter9829075999.999872
ns/iter1.02
Evaluator_Draft4_Meta_1_No_Callback
2345.2105522206302
ns/iter2278.5999122771536
ns/iter1.03
Evaluator_Draft4_Required_Properties
1998.5343063999278
ns/iter1982.156319370807
ns/iter1.01
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match
560.6835714285045
ns/iter556.315799999993
ns/iter1.01
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match
414.50335649538425
ns/iter414.4451466764968
ns/iter1.00
Evaluator_Draft4_Items_Schema
6375.81339285731
ns/iter6366.958035714885
ns/iter1.00
Evaluator_Draft4_Nested_Object
158.41486607140862
ns/iter161.30069196432623
ns/iter0.98
Evaluator_Draft4_Properties_Triad_Optional
5598.872000000483
ns/iter5335.67800000128
ns/iter1.05
Evaluator_Draft4_Properties_Triad_Closed
4420.274075464988
ns/iter4405.119657178959
ns/iter1.00
Evaluator_Draft4_Properties_Triad_Required
5415.6430000000455
ns/iter5441.696000000319
ns/iter1.00
Evaluator_Draft4_Non_Recursive_Ref
560.8776785713587
ns/iter562.8154999999424
ns/iter1.00
Evaluator_Draft4_Pattern_Properties_True
8050.046875000153
ns/iter8018.22625791916
ns/iter1.00
Evaluator_Draft4_Ref_To_Single_Property
420.88932469249573
ns/iter422.3572691182775
ns/iter1.00
Evaluator_Draft4_Additional_Properties_Type
805.9635687661616
ns/iter793.59866071422
ns/iter1.02
Evaluator_Draft4_Nested_Oneof
1093.8273437499647
ns/iter1091.9509375000302
ns/iter1.00
Evaluator_Draft6_Property_Names
1825.547969239112
ns/iter1817.1091626499074
ns/iter1.00
Evaluator_Draft7_If_Then_Else
549.6598999999378
ns/iter553.9108000000397
ns/iter0.99
Evaluator_2020_12_Dynamic_Ref
8747.780143839998
ns/iter8876.332589284886
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.