Skip to content

Commit b6d494a

Browse files
committed
clippy
Signed-off-by: Alexander Droste <[email protected]>
1 parent bc019fb commit b6d494a

File tree

1 file changed

+1
-0
lines changed
  • vortex-array/src/arrays/list/compute

1 file changed

+1
-0
lines changed

vortex-array/src/arrays/list/compute/take.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ fn _take<I: IntegerPType, O: IntegerPType, OutputOffsetType: IntegerPType>(
102102
// difference does.
103103
let additional: usize = (stop - start).as_();
104104

105+
// TODO(0ax1): optimize this
105106
elements_to_take.reserve_exact(additional);
106107
for i in 0..additional {
107108
elements_to_take.append_value(start + O::from_usize(i).vortex_expect("i < additional"));

0 commit comments

Comments
 (0)