Add extension for FixedSizeArrays (collect_structarray initializer)#344
Add extension for FixedSizeArrays (collect_structarray initializer)#344qwjyh wants to merge 1 commit intoJuliaArrays:masterfrom
Conversation
|
I wonder, why does it need to live in StructArrays? The new code doesn't use any of the internals (doesn't use any code from StructArrays at all, for that matter), seems like it can just as well be independent. |
|
I thought that |
|
Sorry, I must've missed the Can |
I think this is totally fine so I'm closing this PR. |
Adding small package extension for FixedSizeArrays to provide
initializerforcollect_structarrayto collect an iterator into aStructArrayofFixedSizeArray.I used a hack code in
__init__of the extension to export the new initializer underStructArraysmodule.(The name of the initializer is still so long.)