Zachary P Christensen

Results 365 comments of Zachary P Christensen

I'm going to start with a simple method that should help illustrate some of the problems I've run into. ```julia using BenchmarkTools memory_reference(A) = _memory_reference(A, parent(A)) _memory_reference(::A, b::A) where {A}...

I've started putting together a more formal testing grounds for some related ideas I've been toying with [here](https://github.com/Tokazama/IndexTransforms.jl) in case anyone is interested (well, more formal than intangible ideas).

I created something similar for this here https://github.com/Tokazama/StaticRanges.jl/blob/f8dac65496c10ea0ec0fbf748006af105f77f62e/src/staticness.jl#L1. It separates things into dynamic, static, fixed. Where a `Vector` is dynamic, a typical range is fixed, and `SVector` is static. Would...

Is this compile time thing or is it all checked at run time? Sorry if you document it elsewhere but I only read what you linked.

If I understand your code correctly you're using a union internally to group mutable and immutable containers. Wouldn't we want to use traits to avoid having to redefine the union...

Okay, maybe I misunderstood the suggestion. Is your suggestion that instead of defining `is_resizeable` to have define something like: ```julia implements(::typeof(resize!), ::Type{

Perhaps I should open a separate issue for this, but it would also be useful to have `grow_first`, `grow_last`, `shrink_first`, `shrink_last`. However, I don't know any of the magic behind...

I like the idea of mutability being something that needs to be opted into. I didn't originally make `true` the default, so I'm assuming that decision reflected that the majority...

Should we suggest using `ArrayInterface.can_setindex` and `ArrayInterface.can_change_size` in documentation for most arrays since these methods are more specific?

I think this would be a band-aid for the real issue, which is that these arrays are all adding some sort of new trait/behavior but the trait is only evident...