@Udiknedormin

+1 for finding weird edge cases! lol

Ideally I would like to be able to initialize an array in the constructor 
syntax directly, like any other type. It is strange that arrays are different. 
Even sequence has the special _@[]_ syntax for this.

but it is such a minor thing that I am not bothered by it too much.

I would make a github issue if the people or the core devs think it is worth 
it? ¯\\_(ツ)_/¯

I was avoiding _object_ because I wanted to avoid things like extra magic 
pointers; if I can just avoid the using _of_ to get the same effect then that's 
fine with me!

Good point about the cost of default initialization. In this case that is the 
exact behavior that I want, but it is definitely something to keep in mind. I 
will remember {.noinit.} for the future. 

Reply via email to