Skip to content

Commit 001fbdd

Browse files
authored
remove unused function over() (#114)
1 parent 245d224 commit 001fbdd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/chainedvector.jl

-5
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ end
147147
return chunk, chunklen, chunklen - (ind - i2)
148148
end
149149

150-
function over(len, N=Threads.nthreads())
151-
nlen, r = divrem(len, N)
152-
return (((i - 1) * nlen + 1, i * nlen + ifelse(i == N, r, 0)) for i = 1:N)
153-
end
154-
155150
Base.@propagate_inbounds function Base.getindex(x::ChainedVector{T, A}, inds::AbstractVector{Int}) where {T, A}
156151
len = length(inds)
157152
arrays = x.arrays

0 commit comments

Comments
 (0)