Time |
Nick |
Message |
00:23 |
|
ANAND joined #minetest-dev |
01:01 |
|
YuGiOhJCJ joined #minetest-dev |
01:47 |
|
reductum joined #minetest-dev |
01:53 |
|
Corvus_ joined #minetest-dev |
06:32 |
|
reductum joined #minetest-dev |
07:03 |
|
AndroBuilder joined #minetest-dev |
07:37 |
|
Beton joined #minetest-dev |
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:27 |
|
Krock joined #minetest-dev |
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:47 |
|
ensonic joined #minetest-dev |
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:17 |
|
ANAND joined #minetest-dev |
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:34 |
|
ClobberXD joined #minetest-dev |
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:08 |
|
ANAND joined #minetest-dev |
10:21 |
nerzhul |
yes, it's either manual or automatic |
10:27 |
|
Fixer joined #minetest-dev |
10:36 |
|
ClobberXD joined #minetest-dev |
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 |
11:01 |
|
ensonic joined #minetest-dev |
11:06 |
|
Fixer_ joined #minetest-dev |
11:45 |
|
ensonic joined #minetest-dev |
11:50 |
|
Gael-de-Sailly joined #minetest-dev |
13:21 |
|
ensonic joined #minetest-dev |
13:43 |
|
ensonic joined #minetest-dev |
15:09 |
|
Beton joined #minetest-dev |
17:21 |
|
Krock joined #minetest-dev |
17:38 |
|
BillyS joined #minetest-dev |
17:39 |
|
BillyS joined #minetest-dev |
18:27 |
|
Beton_ joined #minetest-dev |
19:10 |
|
AndroBuilder joined #minetest-dev |
19:14 |
|
johnnyjoy joined #minetest-dev |
19:33 |
|
paramat joined #minetest-dev |
19:34 |
|
ensonic joined #minetest-dev |
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:42 |
|
Cornelia joined #minetest-dev |
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 |
19:49 |
|
Gael-de-Sailly joined #minetest-dev |
20:21 |
|
Sokomine_ joined #minetest-dev |
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 |
21:20 |
|
Cornelia joined #minetest-dev |
21:32 |
|
proller joined #minetest-dev |
21:43 |
|
nerzhul joined #minetest-dev |
22:03 |
|
Cornelia joined #minetest-dev |
23:12 |
|
Icedream joined #minetest-dev |
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:21 |
|
Sokomine joined #minetest-dev |
23:31 |
paramat |
merging |
23:33 |
paramat |
done |