Time Nick Message 00:30 Zughy[m] hurray, back again to 100 PRs 02:36 proller Zughy[m], just reopen https://github.com/minetest/minetest/pull/12142 to be 101s 10:58 MTDiscord Why is blockdata serialized as three separate arrays (array of all param0, followed by param1, followed by param2) instead of just copied node by node? 10:59 MTDiscord oh probably a compression thing? nevermind 11:06 MTDiscord Also useful on the Lua side of things (VoxelManip): Having three large arrays has much less overhead than having one large array where every entry is a table of 3 values. 11:08 celeron55 also generally one is interested in a single param across multiple neighboring nodes, so you want to store them in separate arrays as a cpu cache optimization 12:38 MTDiscord but their in-memory representation is a single array, it appears 12:38 MTDiscord https://github.com/minetest/minetest/blob/6e1c70e02b00df94a584bb4247cfa4f4c616c8d5/src/mapblock.h#L549 14:05 sfan5 it is indeed 14:05 sfan5 but for serialization it'll be to optimize the compress yeah