Module cache_friendly_index

Module cache_friendly_index 

Source
Expand description

Cache-friendly memory layouts for vector index

This module provides optimized data structures for better cache performance:

  • Structure of Arrays (SoA) layout for better vectorization
  • Hot/cold data separation
  • Cache-line aligned storage
  • Prefetching hints for predictable access patterns

Structsยง

CacheFriendlyVectorIndex
Cache-friendly vector index with optimized memory layout
IndexConfig
Configuration for cache-friendly index