From 2cfab6bdf859695b934187b6d847329895ecd324 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 13 Oct 2022 15:59:25 +0200 Subject: TargetResult: Serialise inner TargetResults flat Before this change, TargetResults that appear inside of other TargetResults (typically via value nodes) were serialised via the top-level serialisation function for TargetResults. While technically correct, it is rather inefficient as identical expressions from outer and inner TargetResults are not properly deduplicated and a deeply nested data structure is maintained. With this change, expressions of inner TargetResults are serialised in the context of outer TargetResults, resulting in a flat list of all transitively contained expressions with proper deduplication applied. As this serialisation of TargetResult is used in target-level cache entries, the new format is a breaking change to existing entries. Therefore, after switching to the new serialisation format introduced by this commit, users are required to clean their target-level cache. This also reverts commit d22adef666d704680ee74b35a46d530f6b6d5f15, "Recursively scan provided results for known artifacts". --- src/buildtool/main/version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/main/version.cpp') diff --git a/src/buildtool/main/version.cpp b/src/buildtool/main/version.cpp index 08da2cf3..748c491c 100644 --- a/src/buildtool/main/version.cpp +++ b/src/buildtool/main/version.cpp @@ -21,7 +21,7 @@ auto version() -> std::string { std::size_t major = 1; std::size_t minor = 0; std::size_t revision = 0; - std::string suffix = "~beta3"; + std::string suffix = "~beta4"; #ifdef VERSION_EXTRA_SUFFIX suffix += VERSION_EXTRA_SUFFIX; #endif -- cgit v1.2.3