TFW 8-bit integers are too small, but 16-bit integers are too big, so you go with 12-bit integers… and it actually results in a nice perf win
-
-
(Specifically, it’s the data for a line segment: two pairs of (x, y) coordinates, 12-bit 4.8 fixed point for each coordinate — the tiles are 16x16 so this is OK — plus a 16-bit tile index, makes 64-bit instance data. Rustc then goes to town optimizing it) :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.