windex 0.1.0

Lock-free fixed-capacity hash index with overflow bucket pool / 无锁定容哈希索引,含溢出桶池
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(docsrs, feature(doc_cfg))]

mod bucket;
mod entry;
mod error;
mod overflow_pool;
mod table;

pub use bucket::{
  BucketExclusiveGuard, BucketSharedGuard, DATA_ENTRIES, ENTRIES_PER_BUCKET, HashBucket,
  OVERFLOW_INDEX,
};
pub use entry::HashBucketEntry;
pub use error::{Error, Result};
pub use overflow_pool::OverflowPool;
pub use table::{CandidateAddresses, HashIndex, MultiBucketGuard, prefetch_read_l1};