3 ms·
Might be good to clarify use cases in the README. It sounds like this is useful for reading and writing binary file formats. My initial thought was that this wa
by alangpierce 8y ago
Might be good to clarify use cases in the README. It sounds like this is useful for reading and writing binary file formats. My initial thought was that this was intended for careful memory management for performance reasons, like a packed array of structs like you see in lower-level languages. But seems like there's probably no way to do that in pure JS without slowing things down significantly, which mostly would ruin the point.
- me_bx 8y agoIndeed. Mnemonist [1] is a library which looks more like what you're looking for. There are some performance benchmarks here and there on the web, comparing the performance of their data structures with other.... [1]: https://yomguithereal.github.io/mnemonist/ https://yomguithereal.github.io/mnemonist/