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

Function decode_from_stack

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

Source from the content-addressed store, hash-verified

86}
87
88#[inline(always)] fn decode_from_stack(coding: &Coding<u8>, compressed_text: &Box<[u64]>, total_size_bits: usize) {
89 decode(coding, compressed_text.bit_in_range_iter(0..total_size_bits).rev());
90}
91
92#[inline(always)] fn decoded(coding: &Coding<u8>, uncompressed_len: usize, mut bits: impl Iterator<Item = bool>) -> Vec::<u8> {
93 let mut decoded_text = Vec::with_capacity(uncompressed_len);

Callers 2

benchmark_u8Function · 0.85
benchmarkFunction · 0.85

Calls 2

decodeFunction · 0.85
bit_in_range_iterMethod · 0.80

Tested by

no test coverage detected