docs: Bucket

This commit is contained in:
mandlm 2024-03-23 12:01:46 +01:00
parent 532e52cc7f
commit bc58ca5af8
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7

View File

@ -5,6 +5,12 @@
#include <unordered_map>
/** 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<char, WordRefList> directory_;