| [Tux] |
|
09:22 | |||||||||||||||||||||||||||||||||||||
| csv-test-xs 0.015 - 0.019 | |||||||||||||||||||||||||||||||||||||||
| tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log | |||||||||||||||||||||||||||||||||||||||
|
10:09
librasteve_ joined
|
|||||||||||||||||||||||||||||||||||||||
| lizmat | another weird benchmark result: | 12:12 | |||||||||||||||||||||||||||||||||||||
| m: sub a() { }; a() for ^50000000; say now - ENTER now | |||||||||||||||||||||||||||||||||||||||
| camelia | 0.271946201 | ||||||||||||||||||||||||||||||||||||||
| lizmat | m: sub a() { 42 }; a() for ^50000000; say now - ENTER now | ||||||||||||||||||||||||||||||||||||||
| camelia | 0.235296138 | ||||||||||||||||||||||||||||||||||||||
| lizmat | m: sub a() { }; a() for ^50000000; say now - ENTER now | 12:13 | |||||||||||||||||||||||||||||||||||||
| camelia | 0.277552336 | ||||||||||||||||||||||||||||||||||||||
| lizmat | m: sub a() { 42 }; a() for ^50000000; say now - ENTER now | ||||||||||||||||||||||||||||||||||||||
| camelia | 0.238863633 | ||||||||||||||||||||||||||||||||||||||
| lizmat | some more benchmarks: | 12:53 | |||||||||||||||||||||||||||||||||||||
| m: class A { has $.a; method BUILD(:$!a = 42) { } }; A.new for ^10000000; say now - ENTER now | |||||||||||||||||||||||||||||||||||||||
| camelia | 2.08846937 | ||||||||||||||||||||||||||||||||||||||
| lizmat | m: class A { has $.a; method BUILD(:$a = 42) { $!a = $a } }; A.new for ^10000000; say now - ENTER now | ||||||||||||||||||||||||||||||||||||||
| camelia | 0.894904514 | ||||||||||||||||||||||||||||||||||||||
| lizmat | apparently directly assigning to an attribute in a signature is relatively expensive | 12:54 | |||||||||||||||||||||||||||||||||||||
|
14:50
librasteve_ left
|
|||||||||||||||||||||||||||||||||||||||
| melezhik. | . | 16:58 | |||||||||||||||||||||||||||||||||||||
| lizmat | melezhik: I don't think tellable will give you your messages if you're on the Discord bridge ? | 17:53 | |||||||||||||||||||||||||||||||||||||
| nemokosch | probably not | 17:55 | |||||||||||||||||||||||||||||||||||||
|
18:45
finanalyst joined
|
|||||||||||||||||||||||||||||||||||||||
| [Coke] | can anyone explain what :hammer is doing on .flat? | 20:30 | |||||||||||||||||||||||||||||||||||||
| the commit github.com/rakudo/rakudo/commit/74cfe8e3 isn't helping me. | 20:31 | ||||||||||||||||||||||||||||||||||||||
| github.com/Raku/doc/issues/4504 is why I'm asking. | 20:32 | ||||||||||||||||||||||||||||||||||||||
| (I do see there are some examples in roast, will check there later.) | |||||||||||||||||||||||||||||||||||||||
| nemokosch | hammer "breaks" containerization | ||||||||||||||||||||||||||||||||||||||
| without it, I don't think a nested array even flattens (because the elements are containerized) | 20:33 | ||||||||||||||||||||||||||||||||||||||
| m: [[1, 2], [3, 4]].flat.&dd | |||||||||||||||||||||||||||||||||||||||
| Raku eval | ($[1, 2], $[3, 4]).Seq | ||||||||||||||||||||||||||||||||||||||
| nemokosch | ( ($[1, 2], $[3, 4]).Seq ) | ||||||||||||||||||||||||||||||||||||||
| :hammer will make it (1, 2, 3, 4).Seq | 20:34 | ||||||||||||||||||||||||||||||||||||||
| ultimately it seems :hammer forces decontainerization of entries iterated | 20:37 | ||||||||||||||||||||||||||||||||||||||
| lizmat | github.com/rakudo/rakudo/commit/2d...5d660fb745 perhaps\ | 20:43 | |||||||||||||||||||||||||||||||||||||
|
21:48
librasteve_ joined
|
|||||||||||||||||||||||||||||||||||||||
| Geth | nqp/main: 1bfa1c00ed | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION Bump MoarVM to get better gcd implementation MasterDuke++ |
23:40 | |||||||||||||||||||||||||||||||||||||
| rakudo/main: c5cfd69c64 | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION Bump NQP to get better MoarVM gcd implementation MasterDuke++ |
23:52 | ||||||||||||||||||||||||||||||||||||||