3 ms·
For the record, the first approach was just used for simplicity in the blog post. The production system works differently (and doesn't have to waste memory per-
by jordanlewis 7y ago
For the record, the first approach was just used for simplicity in the blog post. The production system works differently (and doesn't have to waste memory per-datum) - we have typed containers, each of which have a primitive slice within.
https://github.com/cockroachdb/cockroach/blob/master/pkg/col/coldata/vec.go https://github.com/cockroachdb/cockroach/blob/master/pkg/col...