docs: Bucket
This commit is contained in:
parent
532e52cc7f
commit
bc58ca5af8
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
||||||
|
|
||||||
#include <unordered_map>
|
#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 {
|
class Bucket {
|
||||||
private:
|
private:
|
||||||
std::unordered_map<char, WordRefList> directory_;
|
std::unordered_map<char, WordRefList> directory_;
|
||||||
|
|
Loading…
Reference in a new issue