Skip to content

Commit

Permalink
Speed up compilation by caching commonly referenced schemas (#184)
Browse files Browse the repository at this point in the history
Fixes: #182
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Oct 30, 2024
1 parent e1b36ca commit 48060ff
Show file tree
Hide file tree
Showing 23 changed files with 2,037 additions and 1,766 deletions.
4 changes: 2 additions & 2 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a4140267959ae334d3ecf4
noa https://github.com/sourcemeta/noa caad2e1ceedf9fd1a18686a6a6d1e2b9757ead75
jsontoolkit https://github.com/sourcemeta/jsontoolkit 2d78929faf0f96110edfb67fa3ddf6916cf35ef7
jsontoolkit https://github.com/sourcemeta/jsontoolkit 7654c30ef2f0a0ccb36affa810ffebebd6179ebd
hydra https://github.com/sourcemeta/hydra a4a74f3cabd32f2f829f449d67339dac33f9910e
alterschema https://github.com/sourcemeta/alterschema 92e370ce9c1f0582014b54d43e388ee012dfe13d
jsonbinpack https://github.com/sourcemeta/jsonbinpack d777179441d3c703e1fda1187742541aa26836b5
blaze https://github.com/sourcemeta/blaze b438b45e453562d882786dee0b7658f81e6fb6a0
blaze https://github.com/sourcemeta/blaze df43a0886184e5826036983f536b6f9ea06362a7
4 changes: 2 additions & 2 deletions test/compile/pass_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ cat << 'EOF' > "$TMP/expected.json"
"absoluteKeywordLocation": "#/properties/foo/type",
"relativeSchemaLocation": "/properties/foo/type",
"relativeInstanceLocation": "/foo",
"report": true,
"dynamic": false
"dynamic": false,
"track": false
}
]
EOF
Expand Down
673 changes: 12 additions & 661 deletions vendor/blaze/LICENSE

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions vendor/blaze/LICENSE-COMMERCIAL

This file was deleted.

4 changes: 2 additions & 2 deletions vendor/blaze/src/compiler/CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

241 changes: 140 additions & 101 deletions vendor/blaze/src/compiler/compile.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 48060ff

Please sign in to comment.