pub fn disable_caching(disabled: bool)Expand description
Disable caching for benchmarking
When disabled, all cache lookups are bypassed, ensuring consistent performance measurements without cache state affecting results.
ยงExample
use blvm_consensus::script::disable_caching;
// Disable caches for benchmarking
disable_caching(true);
// Run benchmarks...
disable_caching(false); // Re-enable for production