docs: Bucket
parent
532e52cc7f
commit
bc58ca5af8
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue