Skip to content
About
Main content
Trade-off

Space vs. time

Where you meet it: compression, indexing, materialization, caching.

What it is

Why does nobody collect this gain? Context-mixing models run at 100 KB/s–1 MB/s. That is three to four orders of magnitude slower than ZSTD, for roughly 2× more ratio. The last 2× of ratio costs about 1000× the CPU. The exchange rate is harsh. So data pipelines sit permanently at the cheap end of a curve that everybody knows is not the ceiling.

From Encoding, Serialization & Compression › General-purpose compression

In compact, queryable structures the usual trade-off inverts. In every other article, space and time are opposites: you spend one to buy the other. Here they move together, for two compounding reasons. First, analytics is bandwidth-bound (limited by bytes moved, not by arithmetic), so bytes not stored are bytes not moved. That alone makes smaller faster. Second, once data is packed into bits, a 64-bit word operation processes 64 elements at once and a 512-bit AVX register processes 512. Compactness converts directly into parallelism. A bitmap AND does 512 row-level predicate tests in one instruction, not because it is clever, but because the representation happens to fit the arithmetic unit.

From Core Data Structures › Compact and queryable

Where it appears

In 16 mechanisms. Each says what the mechanism is about, then how this trade-off shows up there, in its own words.

Made on the same pages most often.