Module performance

Module performance 

Source
Expand description

Performance optimizations for the reputation engine

This module contains performance-critical optimizations including inlined functions, zero-allocation strategies, and cache-friendly data structures.

Functionsยง

calculate_batch_optimized
Cache-friendly batch calculation using optimal chunking
calculate_confidence_fast
Optimized confidence calculation with inline annotation
calculate_empirical_fast
Optimized empirical score calculation
calculate_prior_fast
Fast prior calculation using stack allocation
handle_validation_error
Branch prediction hints for error paths
optimal_chunk_size
Optimal chunk size for parallel processing based on CPU cache