JuliaFolds2 / ChunkSplitters.jl

Splitting collections into chunks
https://juliafolds2.github.io/ChunkSplitters.jl/
MIT License
50 stars 7 forks source link

simpler to use `divrem(n, m)` #2

Closed getzdan closed 1 year ago

getzdan commented 1 year ago

divrem function specifically suited for this calculation.

https://github.com/m3g/ChunkSplitters.jl/blob/4c9edee163678cf1da4e9a813fa4e2c6e0800fa1/src/ChunkSplitters.jl#L135-L136

lmiq commented 1 year ago

thanks, updated on version 0.1.2