Module iter

Module iter 

Source
Expand description

Summary: Iterator configuration and scan metrics for Phase 2 read dominance. Copyright (c) YOAB. All rights reserved.

This module provides:

  • IterOptions: Configuration for iterator behavior (prefetch hints, etc.)
  • ScanMetrics: Statistics collected during iteration
  • MetricsIter: Iterator wrapper that collects scan metrics

§Performance Considerations

  • Prefetch hints allow the iterator to load upcoming data proactively.
  • Metrics collection has minimal overhead when enabled.
  • All structures are designed for cache-friendly access patterns.

Structs§

IterOptions
Configuration options for iterators.
MetricsIter
An iterator wrapper that collects scan metrics.
PrefetchIter
Iterator with prefetch hints for optimized sequential access.
ScanMetrics
Metrics collected during a scan operation.