@@ -11,6 +11,7 @@ use rand::rngs::StdRng;
1111use vortex_array:: ArrayRef ;
1212use vortex_array:: IntoArray ;
1313use vortex_array:: LEGACY_SESSION ;
14+ #[ allow( deprecated) ]
1415use vortex_array:: ToCanonical ;
1516use vortex_array:: VortexSessionExecute ;
1617use vortex_array:: patches:: Patches ;
@@ -37,6 +38,7 @@ const BENCH_ARGS: &[(f64, f64)] = &[
3738] ;
3839
3940#[ divan:: bench( args = BENCH_ARGS ) ]
41+ #[ expect( deprecated) ]
4042fn take_search ( bencher : Bencher , ( patches_sparsity, index_multiple) : ( f64 , f64 ) ) {
4143 let mut rng = StdRng :: seed_from_u64 ( 0 ) ;
4244 let patches = fixture ( 65536 , patches_sparsity, & mut rng) ;
@@ -54,6 +56,7 @@ fn take_search(bencher: Bencher, (patches_sparsity, index_multiple): (f64, f64))
5456}
5557
5658#[ divan:: bench( args = BENCH_ARGS ) ]
59+ #[ expect( deprecated) ]
5760fn take_search_chunked ( bencher : Bencher , ( patches_sparsity, index_multiple) : ( f64 , f64 ) ) {
5861 let mut rng = StdRng :: seed_from_u64 ( 0 ) ;
5962 let patches = fixture_with_chunk_offsets ( 65536 , patches_sparsity, & mut rng) ;
@@ -71,6 +74,7 @@ fn take_search_chunked(bencher: Bencher, (patches_sparsity, index_multiple): (f6
7174}
7275
7376#[ divan:: bench( args = BENCH_ARGS ) ]
77+ #[ expect( deprecated) ]
7478fn take_map ( bencher : Bencher , ( patches_sparsity, index_multiple) : ( f64 , f64 ) ) {
7579 let mut rng = StdRng :: seed_from_u64 ( 0 ) ;
7680 let patches = fixture ( 65536 , patches_sparsity, & mut rng) ;
0 commit comments