github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
01:48 evalable6 left 01:50 evalable6 joined 01:51 Altai-man_ joined 01:54 sena_kun left 02:54 evalable6 left 02:55 evalable6 joined 03:52 sena_kun joined 03:54 Altai-man_ left 05:51 Altai-man_ joined 05:54 sena_kun left 07:13 releasable6 left, bloatable6 left, benchable6 left, unicodable6 left, notable6 left, committable6 left, shareable6 left, quotable6 left, nativecallable6 left, sourceable6 left, bisectable6 left, statisfiable6 left, reportable6 left, squashable6 left, greppable6 left, coverable6 left 07:14 committable6 joined, unicodable6 joined, bloatable6 joined, reportable6 joined 07:15 coverable6 joined, notable6 joined, statisfiable6 joined, quotable6 joined, shareable6 joined, benchable6 joined, greppable6 joined 07:16 squashable6 joined, sourceable6 joined, nativecallable6 joined, releasable6 joined, bisectable6 joined 07:53 sena_kun joined 07:54 Altai-man_ left 09:52 Altai-man_ joined 09:54 sena_kun left 11:53 sena_kun joined 11:54 Altai-man_ left
lizmat what would be required to create a CCLASS_NEWLINE like nqp::const for the 'Canonical_Combining_Class" property ? 12:17
so that one could easily see if any characters in a string have that property ? 12:18
nine Looks like not much. Just adding the new constant, and implementing the test in MVM_string_grapheme_is_cclass 12:22
lizmat hmmm... 12:40
actually, that's a property that returns strings, I just realized 12:41
so I'd want to check if it returns "0"
but that should be easy, no ?
looking at making Str.raku about 2x as fast 12:43
nine timotimo: is the profiler's heap analyzer already meant to be used? If yes, you need to push your model additions to p6-app-moarvm-heapanalyzer. 13:48
13:53 Altai-man_ joined 13:54 sena_kun left
nine Seems like the plain old moarvm-ha doesn't work anymore either :/ 14:04
expected the collectables header at 0xD957A1A6, but got "3\0\0\0" instead.
14:10 AlexDaniel left 15:53 sena_kun joined 15:55 Altai-man_ left 16:09 domidumont joined
samcv lizmat, yes that would be pretty easy 16:39
lizmat, so you are trying to check if a string contains "\n" as fast as possible? why doesn't index work? 16:41
timotimo nine: sorry, you'll need to grab the heapanalyzer from my github account, or set the moarvm heap snapshot format version number with a define 16:42
samcv ah. you want to check a canonical combining class? which specific property for what reason do you want to check?
a nqp::index except it works with a propcode and propval would make sense to implement 16:50
nine timotimo: both format 2 and 3 need changes in p6-app-moarvm-heapanalyzer. 16:52
timotimo: is there a special branch? I did look in your github account, but only found commits from 2016 for the heapanalyzer 16:53
timotimo oh, was i working in a branch? that might be the case 16:59
i'm on nqp-ops-makes-stuff-faster at that moment
sorry about the mess 17:00
17:13 vesper left 17:14 vesper11 joined 17:45 kiwi_7 joined 17:48 robertle left 17:52 Altai-man_ joined 17:55 sena_kun left 17:58 patrickb joined
lizmat samcv: the goal was to speed up Str.raku (formerly known as Str.perl) 18:10
there's a whole loop for looking up special cases. Which could be evaded if we had a fast way of making sure there are no special cases in a string
samcv: on second thought: it propably doesn't make any sense anyway, because we need to check for specific exceptions anyway 18:35
19:10 kiwi_7 left, raiph joined 19:52 patrickb left 19:53 sena_kun joined 19:54 Altai-man_ left 20:09 zakharyas joined 20:44 domidumont left 20:51 zakharyas left 21:00 raiph left 21:52 Altai-man_ joined 21:54 sena_kun left
samcv lizmat, the fact uniprop-int does not return 0 for "0" is a bug. not sure how much impact it has on things, though it was on my bucket list 22:08
22:13 raiph joined 22:28 AlexDaniel joined, AlexDaniel left, AlexDaniel joined
lizmat it was using uniprop-str 22:46
samcv lizmat, yeah i looked at the code. thanks for making it faster though :) 23:01
23:01 raiph left 23:02 raiph joined 23:53 sena_kun joined 23:55 Altai-man_ left