4 ms·
I'm not. Is there some performance penalty for using a struct over a 2 element array?
by Saltor 12y ago
I'm not. Is there some performance penalty for using a struct over a 2 element array?
- vidarh 12y agoNo performance penalty. It would make the code longer. Consider "<Foo> in <bar> lines" type articles to be performance pieces - the point is to make it short, not readable or user friendly.
- mmaldacker 12y agoIn this case, it makes no difference. The array is used instead of a struct to save a few lines of code and making the title of this post more impressive.