From 411c1a10704d19432a6164b553b2cda05f187e9a Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 6 May 2024 12:49:06 -0700 Subject: [PATCH] Mention latency/throughput tradeoff --- include/VersionedMap.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/VersionedMap.h b/include/VersionedMap.h index 8e47f5d..1d26a20 100644 --- a/include/VersionedMap.h +++ b/include/VersionedMap.h @@ -73,11 +73,11 @@ struct VersionedMap { /** Reclaim mutations older than `version`. Must be <= `getVersion()`. * Postcondition: `getOldestVersion()` == `version`. @warning performs work - * proportional to the mutation rate. Call frequently to favor - * memory usage, and infrequently to favor speed. @warning Invalidates any - * iterator from a version less than `version`. There shouldn't be any anyway - * because you should have already applied all mutations through `version` to - * your unversioned data structure. */ + * proportional to the mutation rate. Call frequently to favor latency and + * memory usage, and infrequently to favor throughput. @warning Invalidates + * any iterator from a version less than `version`. There shouldn't be any + * anyway because you should have already applied all mutations through + * `version` to your unversioned data structure. */ void setOldestVersion(int64_t version); /** The version of the most recent call to `addMutations`. */