Flip --experimental_nested_set_as_skykey_threshold for Bazel.
Performance improvements (retained heap size & wall time) are expected.
Tested with the downstream projects:
The failure in rules_scala was due to an old version of Bazel (2.0.0) that predates various fixes to the flag.
@@ -410,7 +410,7 @@ public class BuildRequestOptions extends OptionsBase {
@Option(
name = "experimental_nested_set_as_skykey_threshold",
- defaultValue = "0",
+ defaultValue = "1",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
metadataTags = OptionMetadataTag.EXPERIMENTAL,
effectTags = {OptionEffectTag.EXECUTION, OptionEffectTag.LOSES_INCREMENTAL_STATE},
