Time |
Nick |
Message |
00:30 |
Zughy[m] |
hurray, back again to 100 PRs |
01:45 |
|
BuckarooBanzai joined #minetest-dev |
02:05 |
|
caffblks joined #minetest-dev |
02:36 |
proller |
Zughy[m], just reopen https://github.com/minetest/minetest/pull/12142 to be 101s |
02:42 |
|
Baytuch joined #minetest-dev |
02:58 |
|
Baytuch joined #minetest-dev |
04:13 |
|
proller joined #minetest-dev |
05:00 |
|
MTDiscord joined #minetest-dev |
05:09 |
|
fluxionary joined #minetest-dev |
05:48 |
|
ivanbu joined #minetest-dev |
06:52 |
|
YuGiOhJCJ joined #minetest-dev |
07:10 |
|
calcul0n joined #minetest-dev |
10:12 |
|
hmmmm joined #minetest-dev |
10:53 |
|
Baytuch_2 joined #minetest-dev |
10:58 |
MTDiscord |
<paradust> 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 |
<paradust> oh probably a compression thing? nevermind |
11:06 |
MTDiscord |
<luatic> 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 |
11:29 |
|
YuGiOhJCJ joined #minetest-dev |
11:42 |
|
YuGiOhJCJ joined #minetest-dev |
12:38 |
MTDiscord |
<paradust> but their in-memory representation is a single array, it appears |
12:38 |
MTDiscord |
<paradust> https://github.com/minetest/minetest/blob/6e1c70e02b00df94a584bb4247cfa4f4c616c8d5/src/mapblock.h#L549 |
13:12 |
|
x2048 joined #minetest-dev |
14:05 |
sfan5 |
it is indeed |
14:05 |
sfan5 |
but for serialization it'll be to optimize the compress yeah |
16:53 |
|
fluxionary joined #minetest-dev |
17:42 |
|
x2048 joined #minetest-dev |
19:29 |
|
x2048 joined #minetest-dev |
20:17 |
|
calcul0n joined #minetest-dev |
20:51 |
|
calcul0n joined #minetest-dev |
21:35 |
|
calcul0n_ joined #minetest-dev |
23:01 |
|
diceLibrarian joined #minetest-dev |
23:09 |
|
ashstar1248 joined #minetest-dev |
23:28 |
|
Baytuch_2 joined #minetest-dev |
23:58 |
|
Sokomine joined #minetest-dev |