4 ms·
I’ll note, your second item here is a structure of arrays, which is often higher performance in practice when you are only interested in certain portions of the
by cowsandmilk 5y ago
I’ll note, your second item here is a structure of arrays, which is often higher performance in practice when you are only interested in certain portions of the data.
For this reason, your second structure is how I serialize code I’m interacting with in C.
- dmw_ng 5y agoHigher performance, much smaller compressed and uncompressed, accepted by a wide range of tools, e.g. Pandas, and often more convenient to parse from statically typed languages.
- mananaysiempre 5y ago... Also known as a very simple case of a “column-oriented database”, of which are several at various scales from Metakit[1] to Clickhouse[2]. It’s a neat way to have columns which are sparsely populated, required to accommodate large blobs, numerous but usually not accessed all at once, or frequently added and deleted. Nothing’s perfect, of course: you can’t stream records in such a format, so no convenient Unix-style tooling. [1]: http://www.equi4.com/metakit.html http://www.equi4.com/metakit.html [2]: https://yandex.com/dev/clickhouse/ https://yandex.com/dev/clickhouse/
- 1vuio0pswjnm7 5y agohttps://shakti.com https://shakti.com