File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ auto compile(const sourcemeta::core::JSON &schema,
177177 std::vector<std::tuple<std::string_view, std::size_t , std::size_t >>
178178 sorted_precompile_references;
179179
180- if (effective_tweaks.precompile_static_references ) {
180+ if (effective_tweaks.precompile_static_references_maximum_schemas > 0 ) {
181181 std::unordered_map<std::string_view, std::pair<std::size_t , std::size_t >>
182182 static_reference_destinations;
183183 for (const auto &reference : frame.references ()) {
Original file line number Diff line number Diff line change @@ -84,8 +84,6 @@ enum class Mode : std::uint8_t {
8484// / @ingroup compiler
8585// / Advanced knobs that you can tweak for higher control and optimisations
8686struct Tweaks {
87- // / Attempt to precompile static references to speed up compilation
88- bool precompile_static_references{true };
8987 // / Consider static references that are not circular when precompiling static
9088 // / references
9189 bool precompile_static_references_non_circular{false };
You can’t perform that action at this time.
0 commit comments