MCPcopy Create free account
hub / github.com/beling/bsuccinct-rs / verify_stack

Function verify_stack

coding_benchmark/src/minimum_redundancy.rs:110–114  ·  view source on GitHub ↗
(text: &[u8], compressed_text: Box<[u64]>, coding: &Coding<u8>, total_size_bits: usize)

Source from the content-addressed store, hash-verified

108}
109
110fn verify_stack(text: &[u8], compressed_text: Box<[u64]>, coding: &Coding<u8>, total_size_bits: usize) {
111 print!(" Verifying decoding from a stack... ");
112 compare_texts(&text, &decoded(coding, compressed_text.len(),
113 compressed_text.bit_in_range_iter(0..total_size_bits).rev()));
114}
115
116pub fn benchmark_u8(conf: &super::Conf) {
117 //println!("Measuring the performance of u8-specific minimum_redundancy version:");

Callers 2

benchmark_u8Function · 0.85
benchmarkFunction · 0.85

Calls 4

compare_textsFunction · 0.85
decodedFunction · 0.85
bit_in_range_iterMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected