Colin Summers

Results 47 comments of Colin Summers

Makes sense! I put together a little macro that has proved to be very useful if you (or anyone else) finds a need for it: ``` macro debugtask(ex) quote try...

Also thought you'd find this interesting: https://github.com/JuliaLang/Pkg.jl/issues/2515

@rycee @uvNikita Hey all, I came across this issue as well. I'm fairly familiar with ZSH and zcompile, so maybe I can lend a hand here? I'm using a custom...

Another constraint that I recently learned: any compilation would have to occur _after_ `linkGeneration` if the files being `zcompile`'ed source any other files.

@oschulz no worries, I actually figured this out and have been using it in my own codebases: ```julia # For AbstractArray A and indices I, compute V = typeof(view(A, I...))...

Also, two other options for `_viewtype(A, I, T, ::Val{false})` that I considered were: ```julia _viewtype(A, I, T, ::Val{false}) = @inbounds view(A, I...) @propagate_inbounds _viewtype(A, I, T, ::Val{false}) = view(A, I...)...

As an alternate idea, you could use the `SlicedArray` that I made [here](https://github.com/Lyceum/SpecialArrays.jl/blob/master/src/slicedarray.jl). I ended up needing the ability to slice along arbitrary dimensions instead just the inner `M` dimensions...

Makes sense to backport the changes `ArraysOfArrays.jl`! Given that `SlicedArray` (and also `FlattenedArray`, which is a flattened view of a nested array) were inspired largely by JuliennedArrays.jl it'd be good...

hahah and I love when devs are super responsive and eager to accept PRs :). @bramtayl, when you have a moment want to look over [SlicedArray](https://github.com/Lyceum/SpecialArrays.jl/blob/master/src/slicedarray.jl) and [FlattenedArray](https://github.com/Lyceum/SpecialArrays.jl/blob/master/src/flattenedarray.jl). The major...

Concerning the performance difference: there isn't any. All of the fancy indexing that allows slicing along arbitrary dimensions effectively compiles out.