Time Nick Message 08:21 nerzhul merging #7595 08:21 ShadowBot https://github.com/minetest/minetest/issues/7595 -- Document default values for general cmake options by pauloue 08:29 Krock nerzhul: kwolekr (hmmmmm?) stated that vector::push_back would be slightly faster, whereas vector::insert is best. https://github.com/minetest/minetest/pull/3013#issuecomment-128235083 08:31 Krock maybe it depends on the compiler optimizations - I don't think that the difference it too large 08:31 sfan5 what about emplace_back 08:37 Krock that one was not measured yet since it's C++11 08:37 Krock can do some testing 08:53 Krock emplace_back: 9218 ns 08:53 Krock push_back: 109959 ns 08:53 Krock 30 u8 samples 08:55 Krock well, that's unreliable. will have to loop that stuf 09:20 Krock Well so, resize + c-array turns out to be faster. https://gist.github.com/SmallJoker/0306777070b4f6e82e9c8eadecf4a7dd (dunno how precise this is) 09:22 sfan5 use clock() to measure the processor time instead of wall time 09:31 Krock alright, updated. At the end it's about the same ratio 09:54 nerzhul insert is the better but requires the buffer to be at the good size 09:54 nerzhul emplace_back is push back + constructor 09:55 nerzhul Krock, as i said, resize = 1 allocation + x affectations. Push back = x allocations + x affecttions 09:56 Krock yes, but I expected the vector to allocate more than just 1x the data size 09:56 Krock but it looks like that has to be done manually 10:21 nerzhul yes, it's either manual or automatic 10:59 Krock rebased #6304. Could someone please review this PR? 10:59 ShadowBot https://github.com/minetest/minetest/issues/6304 -- Raycast: export exact pointing location by juhdanad 19:41 paramat game#2184 is ready for review 19:41 ShadowBot https://github.com/minetest/minetest_game/issues/2184 -- Player_api: Give laying players a low selection/collisionbox by paramat 19:45 paramat also game#2150 can add a pillow to both beds later if approved 19:45 ShadowBot https://github.com/minetest/minetest_game/issues/2150 -- Beds: Add white simple and fancy beds by paramat 20:43 paramat merging #7596 in a moment 20:43 ShadowBot https://github.com/minetest/minetest/issues/7596 -- Lua_api.txt: Clarify entity 'initial_properties' and related deprecation by paramat 21:06 paramat uh i forgot again, merging 21:08 paramat done 23:17 paramat will merge game#2188 in 15 mins (trivial) 23:17 ShadowBot https://github.com/minetest/minetest_game/issues/2188 -- Boats, carts mods: Use 'initial_properties' table by paramat 23:31 paramat merging 23:33 paramat done