Better HN
topnewbestaskshowjobs
Log inSign up

dexterous8339

5 karma · joined Apr 19, 2025 (1y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

I recently went down this rabbit hole myself and came out with my own column-major array type.

The explanation drifts into thinking of 2D byte arrays as 3D bit matrices, but in the end it was a 20-30x improvement in speed and binary size.

I was honestly surprised that C++ doesn't have anything built in for this, but at least it's trivial to write your own array type

comment 1y ago · link · parent

Look up the blobfish and how it more or less explodes when taken from the deep ocean.

Very, very few animals can handle the pressure differential between the top and bottom of the ocean. It's pretty much just whales, and they can only do it because they're so goddamn big