/// Read without multi-core ZIP decompression
Read without multi-core ZIP decompression
Read without multi - core ZIP decompression
fn read_single_image_non_parallel_zips_rgba(bench: &mut Bencher) {
    bench.iter(||{
        let path = "tests/images/valid/custom/crowskull/crow_zips.exr";
        let image = exr::prelude::read()
            .no_deep_data().largest_resolution_level()
            .rgba_channels(PixelVec::<(f16,f16,f16,f16)>::constructor, PixelVec::set_pixel)
            .all_layers().all_attributes()
            .non_parallel()
            .from_file(path).unwrap();
        bencher::black_box(image);
    })
}
fn read_single_image_non_parallel_zips_rgba ( bench : & mut Bencher ) { bench . iter ( | | { let path = " " ; let image = exr :: prelude :: read ( ) . no_deep_data ( ) . largest_resolution_level ( ) . rgba_channels ( PixelVec :: < ( f16 , f16 , f16 , f16 ) > :: constructor , PixelVec :: set_pixel ) . all_layers ( ) . all_attributes ( ) . non_parallel ( ) . from_file ( path ) . unwrap ( ) ; bencher :: black_box ( image ) ; } ) }
Read without multi-core ZIP decompression
Read without multi - core ZIP decompression
bench
&mut Bencher