summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthenewone <[email protected]>2025-01-31 09:34:35 +0300
committerthenewone <[email protected]>2025-01-31 09:56:14 +0300
commit972bb8975cad653370d8c4dc06031ea20faf7c51 (patch)
tree845f475f7308103c32a83baad0870c9d6869a71f
parent8fd0148e3c70e7613150e2e9f542f059735beea2 (diff)
persist flow view in YT dynamic tables
Persist flow state in dynamic sorted tables Improve persisted state data structure. Use persisted state data structure as an engine. Update prebuilt YT for tests. commit_hash:149cef6c3bc4db65ef9fa9ee4955e522c15e40bd
-rw-r--r--yt/yt/core/misc/collection_helpers-inl.h2
-rw-r--r--yt/yt/core/misc/collection_helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/misc/collection_helpers-inl.h b/yt/yt/core/misc/collection_helpers-inl.h
index 1afff7460ed..fa299a05ca4 100644
--- a/yt/yt/core/misc/collection_helpers-inl.h
+++ b/yt/yt/core/misc/collection_helpers-inl.h
@@ -155,7 +155,7 @@ TKeySet DropAndReturnMissingKeys(TMap&& map, const TKeySet& set)
}
template <class TMap, class TKeySet>
-void DropMissingKeys(TMap&& map, const TKeySet& set)
+void DropMissingKeys(TMap&& map, TKeySet&& set)
{
for (auto it = map.begin(); it != map.end(); ) {
if (!set.contains(it->first)) {
diff --git a/yt/yt/core/misc/collection_helpers.h b/yt/yt/core/misc/collection_helpers.h
index 4695096e258..f06740e2453 100644
--- a/yt/yt/core/misc/collection_helpers.h
+++ b/yt/yt/core/misc/collection_helpers.h
@@ -43,7 +43,7 @@ template <class TMap, class TKeySet>
[[nodiscard]] TKeySet DropAndReturnMissingKeys(TMap&& map, const TKeySet& set);
template <class TMap, class TKeySet>
-void DropMissingKeys(TMap&& map, const TKeySet& set);
+void DropMissingKeys(TMap&& map, TKeySet&& set);
/*!
* This function is supposed to replace a frequent pattern