From bc58ca5af86a588619c6200b34b3d6d2df7b61d3 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sat, 23 Mar 2024 12:01:46 +0100 Subject: [PATCH] docs: Bucket --- lib_vector_search/include/bucket_finder.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib_vector_search/include/bucket_finder.h b/lib_vector_search/include/bucket_finder.h index b97ecbc..784705e 100644 --- a/lib_vector_search/include/bucket_finder.h +++ b/lib_vector_search/include/bucket_finder.h @@ -5,6 +5,12 @@ #include +/** A Bucket contains a partial WordRefList, split-up and (hash-)mapped by their + * first characters. + * + * It's meant to be read and written by a single thread without the need for + * synchronization. + */ class Bucket { private: std::unordered_map directory_;