1#![deny(missing_docs)]
10
11pub mod addr;
12pub mod blake3;
13pub mod crc;
14pub mod dtoa;
15pub mod eq;
16pub mod error;
17pub mod geo;
18pub mod glob;
19pub mod lock;
20pub mod num;
21pub mod prefetch;
22pub mod re;
23pub mod rng;
24pub mod small;
25pub(crate) mod sync;
26pub mod wyhash;
27pub mod xxh3;
28
29pub use addr::{ADDR_BITS, Addr, MAX_OFFSET, OFFSET_BITS, SPACE_BITS, ShardId, Space};
30pub use crc::{SLOT_COUNT, crc16, crc32c, hash_tag, slot_of};
31pub use eq::bytes_eq;
32pub use error::{Code, Error, Result};
33pub use glob::matches as glob_matches;
34pub use lock::{Held, Lock};
35pub use num::{
36 DIGITS_MAX, i64_digits, i64_len, parse_i64, push_double, push_i64, push_u64, u64_digits,
37};
38pub use prefetch::{prefetch, prefetch_read};
39pub use rng::Rng;
40pub use small::Small;
41pub use wyhash::{hash_key, tag_of, wyhash};
42pub use xxh3::hash64;
43
44pub const CACHE_LINE: usize = 64;
49
50pub const BATCH_MAX: usize = 64;