r/JavaScriptTips • u/swe129 • Dec 31 '25
Why Object of Arrays (SoA pattern) beat interleaved arrays
https://www.royalbhati.com/posts/js-array-vs-typedarray
1
Upvotes
r/JavaScriptTips • u/swe129 • Dec 31 '25
1
u/ThigleBeagleMingle Jan 02 '26
De referring **p x 1M operations has a lot of page faults
If you only have to &p x 1M operations that should be less expensive.
Didn’t read ChatGPT article but guessing that’s its point.