198 karma · joined March 10, 2014
* Genocide of the natives? Literally all countries in the Americas, for starters. * Slavery of captives from Africa? Pretty much everyone with colonies in and around the Caribbean was guilty of that too. * Multiple unnecessary wars that have killed millions of people? That encompasses more or less all of European history.
By all means, criticize Palantir. But don't pretend US history has anything in particular that would set up the prerequisites for it to exist.
If I ever get around to vibe rewriting-it-in-go I might share that.
It is also sort of ironic that one of the key performance callouts is a lack of pointer chasing, but the Go implementation is a slice that contains other slices without making sure they are using the same backing array, which is just pointer chasing under the hood. I have not examined the code closely, but it is also probably what let them get rid of the black array as a performance optimization.
$ go test -v
=== RUN TestChunkOps
chunk_test.go:26: Checking basic persistence and Store expansion.
chunk_test.go:74: Checking close and reopen read-only
chunk_test.go:106: Checking that readonly blocks write ops
chunk_test.go:116: Checking Clear
chunk_test.go:175: Checking interrupted write
--- PASS: TestChunkOps (0.06s)
=== RUN TestEncWriteSpeed
chunk_test.go:246: Wrote 1443 MB/s
chunk_test.go:264: Read 5525.418751 MB/s
--- PASS: TestEncWriteSpeed (1.42s)
=== RUN TestPlaintextWriteSpeed
chunk_test.go:301: Wrote 1693 MB/s
chunk_test.go:319: Read 10528.744206 MB/s
--- PASS: TestPlaintextWriteSpeed (1.36s)
PASSSon, I am able, she said, though you scare me. Watch, said I. Beloved, I said, watch me scare you though. Said she, able am I, son.
Brilliant.