Skip to content

Commit

Permalink
remove unused function over() (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
laborg authored Jan 30, 2025
1 parent 245d224 commit 001fbdd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/chainedvector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@ end
return chunk, chunklen, chunklen - (ind - i2)
end

function over(len, N=Threads.nthreads())
nlen, r = divrem(len, N)
return (((i - 1) * nlen + 1, i * nlen + ifelse(i == N, r, 0)) for i = 1:N)
end

Base.@propagate_inbounds function Base.getindex(x::ChainedVector{T, A}, inds::AbstractVector{Int}) where {T, A}
len = length(inds)
arrays = x.arrays
Expand Down

0 comments on commit 001fbdd

Please sign in to comment.