Vexatos / CircularArrays.jl

Multi-dimensional arrays with fixed size and circular indexing.
MIT License
38 stars 12 forks source link

Type piracy with OffsetArrays #3

Open Vexatos opened 4 years ago

Vexatos commented 4 years ago

See https://github.com/Vexatos/CircularArrays.jl/pull/2#issuecomment-581382145 by @yha and https://github.com/JuliaArrays/OffsetArrays.jl/issues/87. This needs to be solved, but there currently isn't any good way to do that. Would probably have to create a hard dependency on OffsetArrays until this is fixed in Base, which is really ugly and I'd rather not do it.

Vexatos commented 4 years ago

Another option might be to use Requires.jl at least until https://github.com/JuliaLang/Pkg.jl/issues/1285 is resolved. That's also very ugly and the glue code won't precompile, but it is probably better than a hard dependency, although it'd just be a hard dependency on Requires instead...