Skip to content

Commit 9f61bfc

Browse files
authored
Update test/named_array_partition_tests.jl
Remove cruft
1 parent 5e2dc65 commit 9f61bfc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/named_array_partition_tests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,3 @@
2828
@test typeof(map(x->x[1], x)) <: NamedArrayPartition
2929
end
3030

31-
# x = NamedArrayPartition(a = ones(10), b = rand(20))
32-
# x_ap = ArrayPartition(x)
33-
# @btime @. x_ap * x_ap; # 498.836 ns (5 allocations: 2.77 KiB)
34-
# @btime @. x * x; # 2.032 μs (5 allocations: 2.84 KiB) - 5x slower than ArrayPartition

0 commit comments

Comments
 (0)