You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parking_lot & Atomic Primitives: Replaced heavy OS std::sync::Mutex and RwLock primitives with lightweight parking_lot locks and atomic flags (AtomicBool, AtomicU64, ArcSwap), accelerating lock contention throughput from 7.44 Mops/s to 76.57 Mops/s (>10x faster).
Dead Code Cleanups: Purged unreferenced code and removed obsolete #[allow(dead_code)] annotations across the workspace.
Storage Engine & CustomHash Probing
Exact-Match Probing: Implemented TaggedSlot::probe_entry_matching_str and probe_entry_matching_bytes with circular table.mask wrapping across 16-slot probe windows to eliminate false tag collision misses and premature table scans.
Relaxed Slot Loads: Converted probe loops to use Relaxed slot loads with an Acquire barrier only on 15-bit tag matches.
Optimistic Seqlock Inline String Reads: Added seqlock validation for inline strings (≤ 23 bytes) with stack copying (s_copy) before serializing, eliminating two reader atomic CAS operations per read with 100% anti-tearing safety.
Zero-Overhead EBR Guard Drops: Added PENDING == 0 fast path to avoid thread-local DIRTY accesses when no deferred garbage is queued.
String Key Hinted Fast Path: Upgraded get_to_buf_hinted to use direct string probing without byte slice conversion.