improve construction and view performance#224
improve construction and view performance#224piever merged 4 commits intoJuliaArrays:masterfrom aplavin:master
Conversation
|
Thanks, this is a nice change, I've left a couple of small comments. As a general comment (though it should derail this PR, which is a nice performance improvement) one thing to consider is whether the Overall, it feels as though wrapping each component is generally preferable, as it makes it easier to access the component vectors. Unfortunately, it is also the trickier to implement in general (esp. for Do you have a strong opinion either way on this? Would one way work better than the other for your use case? |
I strongly prefer the current situation, when each component is Would also be best for |
|
Perfect, thanks again for the nice PR! |
Make the checks type-stable, and only checkbounds once - not for each component.
Speedup example: