Typed Arrays
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Typed arrays have _huge_ memory and cpu advantages over JavaScript Arrays.
Have you considered typed array usage? A project I'm working favors typed arrays over JavaScript arrays. Both for cpu speed and for memory efficiency.
And an extreme case, rather than using an Array of Objects, we use a single Object of Typed Arrays, where each variable in the object corresponds to a Typed Array. So foo[i].var === foo.var[i]. In a sense, it is struct-like.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.