Zdex
Evaluate Z-order indexing for types, iterators, and tuples of BitCollections.
Example
use zdex::*;
fn main() -> Result<(), std::io::Error> {
let v1: FromU8 = 0b0011.into();
let v2: FromU8 = 0b1111.into();
// Prints "Vob[01011111]".
println!("{:?}", (v1, v2).z_index()?);
Ok(())
}
Todo
- docs example: custom BitCollections
- docs example: practical example with z-order index ranges
- docs example: manipulating result vob
- docs quality: rustdoc + docs.rs link
- key feature: z-indexes over heterogeneous bitcollections
- key feature:
is_relevant
andnext_jump_in
- feature: iterator over sub-ranges (Page Jump Querying heuristic)