Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-dev, 2017-08-25

| Channels | #perl6-dev index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:28 [Coke] dogbert17: I think that VM has 4gb
00:30 [Coke] b2gills: your "perl6" there should be /opt/rakudo/bin/perl6, aye?
00:43 b2gills [Coke]: Basically “stat $(which perl6); '/home/brad/bin/perl6' -> '/opt/rakudo/bin/perl6'”
00:46 llfourn joined #perl6-dev
01:10 BenGoldberg joined #perl6-dev
01:52 ilbot3 joined #perl6-dev
01:52 Topic for #perl6-dev is now Perl 6 language and compiler development 2.0 | Logs at http://irclog.perlgeek.de/perl6-dev/today | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
01:56 BenGoldberg joined #perl6-dev
03:01 dogbert11 joined #perl6-dev
07:27 Tux__ joined #perl6-dev
08:23 AlexDaniel joined #perl6-dev
08:27 robertle joined #perl6-dev
09:31 dogbert11 joined #perl6-dev
09:47 lizmat joined #perl6-dev
10:03 llfourn joined #perl6-dev
10:21 Tux__ This is Rakudo version 2017.07-149-g93a5eff7c built on MoarVM version 2017.07-382-g348b4262
10:21 Tux__ csv-ip5xs        1.362 - 1.389
10:21 Tux__ test            12.364
10:21 Tux__ test-t           4.421 - 4.464
10:21 Tux__ csv-parser      14.354
11:03 AlexDaniel joined #perl6-dev
11:13 vendethiel joined #perl6-dev
11:31 lizmat joined #perl6-dev
11:59 MasterDuke joined #perl6-dev
12:09 brrt joined #perl6-dev
12:10 MasterDuke buggable: speed 20
12:10 buggable MasterDuke, ???????????????????? data for 2017-08-06–2017-08-25; range: 3.587s–4.925s; 19% slower
12:10 MasterDuke buggable: speed 50
12:10 buggable MasterDuke, ?????????????????????????????????????????????????? data for 2017-07-26–2017-08-25; range: 3.587s–4.960s; 10% slower
12:12 MasterDuke pretty noticeable speedup for a little while and then it reverted back to where it was before
12:17 [Coke] TimToady: I am surprised you haven't patched --version to have a nbsp in the "Perl 6"
12:17 [Coke] (... and if you did, I could easily avoid a test nit in the doc suite. :)
12:18 [Coke] is there a name for our unicode strategy? All In? Full Blown? Don't Look Back?
12:32 masak joined #perl6-dev
12:36 lizmat speed 10
12:36 lizmat buggablle: speed 10
12:36 lizmat buggable: speed 10
12:37 buggable lizmat, ?????????? data for 2017-08-12–2017-08-25; range: 4.323s–4.925s; 3% slower
12:55 AlexDaniel [Coke]: I don't see curly quotes in error messages and docs, so it is “reasonably conservative” :)
12:56 dogbert17 There's some kind of regression both test-t and spectest run a lot slower than just a couple of weeks ago
12:59 MasterDuke AlexDaniel: think you can figure out your  'use lib ...' magic to use benchable to find the test-t regression?
12:59 AlexDaniel yes, how do I run it?
13:00 MasterDuke huggable: test-t
13:00 huggable MasterDuke, nothing found
13:00 MasterDuke huggable: bench
13:00 huggable MasterDuke, https://github.com/japhb/perl6-bench
13:01 MasterDuke hm, don't remember the invocation to bring up Zoffix's one liner
13:06 MasterDuke huggable: bench csv
13:06 huggable MasterDuke, export PATH=`pwd`/install/bin:$PATH; cd CSV; for i in $(seq 1 10000); do echo 'hello,","," ",world,"!"'; done > /tmp/hello.csv; time perl6 -Ilib -MText::CSV test-t.pl </tmp/hello.csv
13:08 MasterDuke hm, not so useful for benchable
13:08 AlexDaniel why not
13:09 AlexDaniel one second…
13:12 AlexDaniel treegrep: test-t.pl
13:12 AlexDaniel meh no greppable
13:12 AlexDaniel MasterDuke: where's that test-t.pl file?
13:13 Zoffix [Coke]: keep in mind Windows terminal isn't in UTF-8 by default.
13:13 Zoffix C:\Users\zoffix>perl6 -e "say qq|\x[A0]|"
13:13 Zoffix
13:13 Zoffix [Coke]: ^ that's what I get on Windows 7 for nbsp
13:13 AlexDaniel Zoffix: does it give garbage for eject symbol too?
13:14 Zoffix AlexDaniel: it has ANSII stuff off. There are no colours and the eject symbol is a "<HERE>" text
13:15 AlexDaniel ooooh
13:15 MasterDuke Tux/CSV/test-t.pl
13:15 AlexDaniel ah, there it is
13:15 Zoffix huggable: csv
13:15 huggable Zoffix, https://github.com/Tux/CSV (see `bench csv` for how to run bench)
13:15 timotimo btw, how are we doing compared to pure-perl5 text::csv?
13:17 AlexDaniel bench: HEAD https://gist.github.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03
13:17 benchable6 AlexDaniel, It looks like a URL, but mime type is ‘text/html; charset=utf-8’ while I was expecting something with ‘text/plain’ or ‘perl’ in it. I can only understand raw links, sorry.
13:17 AlexDaniel uhhhh…
13:17 Tux__ timotimo, http://tux.nl/Talks/CSV6/speed5.html
13:17 AlexDaniel bench: HEAD https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:17 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:17 benchable6 AlexDaniel, starting to benchmark the 1 given commit
13:17 benchable6 AlexDaniel, ¦HEAD: «0.5070»
13:17 AlexDaniel commit: HEAD https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:18 timotimo wow, we're a lot slower than that ;(
13:19 AlexDaniel hm committable is off? :o
13:19 committable6 joined #perl6-dev
13:19 AlexDaniel alright, stdin…
13:20 AlexDaniel benchable6: HEAD https://gist.githubusercontent.com/AlexDaniel/d8b16c883435239db6747bab7b6f7b3d/raw/79cd3608fb4b45aa2076381a2225e9964e904f7e/gistfile1.txt
13:20 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:20 benchable6 AlexDaniel, starting to benchmark the 1 given commit
13:20 benchable6 AlexDaniel, ¦HEAD: ««run failed, exit code = 1, exit signal = 0»»
13:20 AlexDaniel commit: HEAD https://gist.githubusercontent.com/AlexDaniel/d8b16c883435239db6747bab7b6f7b3d/raw/79cd3608fb4b45aa2076381a2225e9964e904f7e/gistfile1.txt
13:20 committable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:20 committable6 AlexDaniel, ¦HEAD(593fa5f): «open is disallowed in restricted setting?  in sub restricted at src/RESTRICTED.setting line 1?  in sub open at src/RESTRICTED.setting line 9?  in block <unit> at /tmp/xIIJoX9zXM line 3? «exit code = 1»»
13:23 AlexDaniel benchable6: stdin https://gist.githubusercontent.com/AlexDaniel/de387469dd28cb0987cf0abd8332e652/raw/e05c7133e9f80aa0250eb36ce3ff6bc167991ddd/gistfile1.txt
13:23 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:23 benchable6 AlexDaniel, STDIN is set to «hello,","," ",world,"!"?hello,","," ",world,"!"?hello,","," ",world,"!"?hello,","," ",world,"!"?hel…»
13:23 AlexDaniel ah-ha, that's how you do it
13:23 AlexDaniel ok
13:23 AlexDaniel bench: HEAD https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:23 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:23 benchable6 AlexDaniel, starting to benchmark the 1 given commit
13:24 benchable6 AlexDaniel, ¦HEAD: «10.0102»
13:25 AlexDaniel MasterDuke: now what?
13:25 AlexDaniel 10000 is too much to bisect I think
13:26 MasterDuke maybe reduce the # of lines in the input file
13:26 AlexDaniel benchable6: stdin https://gist.githubusercontent.com/AlexDaniel/de387469dd28cb0987cf0abd8332e652/raw/62982425e8ad7e04f73be61a525469854c6b33a4/gistfile1.txt
13:26 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:26 benchable6 AlexDaniel, STDIN is set to «hello,","," ",world,"!"?hello,","," ",world,"!"?hello,","," ",world,"!"?hello,","," ",world,"!"?hel…»
13:26 AlexDaniel bench: HEAD https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:26 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:26 benchable6 AlexDaniel, starting to benchmark the 1 given commit
13:26 benchable6 AlexDaniel, ¦HEAD: «3.4240»
13:26 AlexDaniel that should do it
13:27 AlexDaniel MasterDuke: now I only have to know which commit was “old”
13:27 AlexDaniel something from 2017-08-08
13:27 MasterDuke probably around then, yeah
13:28 MasterDuke bench: 2017.08 https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:28 benchable6 MasterDuke, Successfully fetched the code from the provided URL.
13:28 benchable6 MasterDuke, starting to benchmark the 1 given commit
13:28 AlexDaniel that's too new
13:28 benchable6 MasterDuke, ¦2017.08: «3.3240»
13:28 MasterDuke bench: 2017.07 https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:28 benchable6 MasterDuke, Successfully fetched the code from the provided URL.
13:28 benchable6 MasterDuke, starting to benchmark the 1 given commit
13:28 AlexDaniel and that's too old :)
13:28 benchable6 MasterDuke, ¦2017.07: «4.0608»
13:29 AlexDaniel bench: 67455170ca5 https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt # let's try this
13:29 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
13:29 benchable6 AlexDaniel, starting to benchmark the 1 given commit
13:29 benchable6 AlexDaniel, ¦6745517: «3.8675»
13:29 MasterDuke bench: 2017.07,2017.08 https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
13:29 benchable6 MasterDuke, Successfully fetched the code from the provided URL.
13:29 benchable6 MasterDuke, starting to benchmark the 2 given commits
13:29 AlexDaniel oh right, maybe it can figure it out automatically
13:30 benchable6 MasterDuke, benchmarked the given commits, now zooming in on performance differences
13:30 * AlexDaniel sorry for botspam, but hopefully this is a learning process for everyone :)
13:31 AlexDaniel MasterDuke: hmmm, I think we are getting precomp time in the results
13:31 geekosaur joined #perl6-dev
13:31 AlexDaniel the graph will be more accurate next time you run it
13:33 benchable6 MasterDuke, https://gist.github.com/78ab5bc2063573260bb506f32bf25a9e
13:35 AlexDaniel MasterDuke: I think it missed it on the graph
13:35 AlexDaniel there were just a few commits where we had super performance, I guess
13:35 AlexDaniel and benchable was unlucky enough not to hit it
13:38 MasterDuke gotta go afk for a bit, hope you can find it while i'm gone
13:43 AlexDaniel thinking about it, no, benchable does a couple of runs so it will ignore the one with precomp
13:43 AlexDaniel (assuming it precomps fast enough)
13:49 lizmat joined #perl6-dev
13:55 benchable6 joined #perl6-dev
14:06 AlexDaniel bench: 44542c5 https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
14:06 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
14:06 benchable6 AlexDaniel, starting to benchmark the 1 given commit
14:06 benchable6 AlexDaniel, ¦44542c5: «3.3824»
14:07 AlexDaniel I don't know. I can't find the same speedup
14:11 MasterDuke i wonder if it would be useful to have an option like 'releases' or 'all' that just does nqp/moarvm bump commits?
14:13 timotimo AlexDaniel: did you mean to do this in #whateverable? :)
14:14 AlexDaniel timotimo: some of it, yes :)
14:14 timotimo :P
14:18 AlexDaniel MasterDuke: I was thinking about 2017.07..2017.08 range syntax with an option to test every nth commit
14:19 timotimo just support the ... operator :D
14:20 geekosaur joined #perl6-dev
14:21 MasterDuke heh
14:23 MasterDuke AlexDaniel: but yeah, that would be good also
14:24 Zoffix timotimo: you use weechat, yes? Any idea how to make activity indicator ignore joins ( http://i.imgur.com/tSgV5Jm.png )? The only thing I could find only is ignoring joins entirely, but I still want to seem them in channel, I just don't want the activity indicator to tell me there's new content when there was only a join and no one spoke
14:28 timotimo i think the buffer list i have shows ones with text (in yellow) and ones with highlights (in purple)
14:28 timotimo i don't actually look at the activity indicator at all
14:29 AlexDaniel anyway, I think I see a little speedup around 46ef1b5, but even there it is slower than HEAD
14:30 Zoffix Ah, OK.
14:30 AlexDaniel (a speedup that then regressed)
14:32 AlexDaniel but maybe I don't see the full picture, I don't know. The bot is mentally retarded and does not want to cooperate.
14:32 * AlexDaniel reboot
14:39 timotimo also i'd like the heap analyzer tool to be a bit faster :P
14:41 MasterDuke timotimo: same here
14:41 timotimo have you been using it much?
14:41 timotimo "no, it's too slow" :)
14:42 MasterDuke some, but the speed is a deterrent
14:42 timotimo this one's 21 megs big ...
14:45 lizmat joined #perl6-dev
14:47 jnthn I'd like to see you figure problems out faster without using the heap analyzer :P
14:52 MasterDuke i wonder how much my cpu effects it? i think i'm getting stage parse times that are at least 10s slower than what i've seen other people mentioning
14:58 AlexDaniel joined #perl6-dev
15:03 geekosaur joined #perl6-dev
15:07 dct joined #perl6-dev
15:09 timotimo jnthn: i'd like to take a closure inside the "prepare snapshot" code that can access the num-objects and other variables, turn those into atomics, and allow the consumer of the model to optionally Promise.start that code to get a progress report; does that sound sane?
15:09 timotimo actually, the consumer can probably handle their own timing of the stuff and calling the closure will just give you the values directly
15:11 jnthn timotimo: Did you see Concurrent::Progress
15:14 timotimo yup, but i wanted to exercise atomic ops :D
15:14 timotimo the thing is, the somewhat tight loop that goes through the collectables doesn't have to change (except for using atomic ops of course)
15:16 timotimo if concurrent::progress uses a supply, it'll call into the reporting code which might be slow
15:19 jnthn Yeah, you'd not want it on a hot path
15:19 jnthn Just every 1000 or 10000 times or something
15:21 Geth ¦ rakudo/jit_nativecall: e81414f4d8 | (Stefan Seifert)++ | 2 files
15:21 Geth ¦ rakudo/jit_nativecall: Test more integerial return types in NC
15:21 Geth ¦ rakudo/jit_nativecall: review: https://github.com/rakudo/rakudo/commit/e81414f4d8
15:27 timotimo the first implementation (that compiled syntax-wise) already works!
15:27 timotimo it waits for 15 seconds and then gives a little report every five seconds
15:29 timotimo unfortunately we don't get an approximation of how many entries there are, so we can't get an ETA or percentage
15:30 timotimo grabbing the size of the file is an expensive operation as we'd still have to find , and \n to get something
15:44 dogbert11 joined #perl6-dev
15:47 dogbert11 Any SPW gossip?
15:55 timotimo tux is showing what he wrote to break damian's perl parser
15:55 robertle joined #perl6-dev
15:56 timotimo lightning talks right now
15:59 tadzik :D
16:09 timotimo not many lightnign talks
16:09 timotimo doesn't help that act didn't display a list or anything
16:13 timotimo aaand it stopped working :)
16:20 dogbert11 drama :)
16:33 TimToady so I guess we need to start thinking (again) about versioned class longnames in order to handle the 6.d OO transition correctlier...
16:35 TimToady that was always part of the rationale for having multiple coexisting versioned modules in the first place
16:37 TimToady but from time to time we've fallen into the trap of assuming that shortnames are globally unique
16:39 TimToady they only have to be forced to be unique within a given lexical scope, however
16:40 TimToady two different lexical scopes can have two different referents for the same shortname, and then that determines which .new to call
16:40 TimToady most of the rest of the OO versioning falls out of that
16:44 timotimo anyway, the heap snapshot i'm looking at is 21 megs big, but it's just perl6 -e 'say "hi"' :?
16:44 timotimo looks like i've gotta use a --target to get something a bit tamer :)
18:09 AlexDani` joined #perl6-dev
18:21 dct joined #perl6-dev
18:35 Geth ¦ rakudo: Leont++ created pull request #1138: Test.pm: Don't print an empty line after a failed test
18:35 Geth ¦ rakudo: review: https://github.com/rakudo/rakudo/pull/1138
18:40 Geth ¦ rakudo/nom: b62b40f1c9 | (Leon Timmermans)++ | lib/Test.pm6
18:40 Geth ¦ rakudo/nom: Test.pm: Don't print an empty line after a failed test
18:40 Geth ¦ rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b62b40f1c9
18:40 Geth ¦ rakudo/nom: d0a5cfa826 | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/Test.pm6
18:40 Geth ¦ rakudo/nom: Merge pull request #1138 from Leont/TestFixes
18:40 Geth ¦ rakudo/nom:
18:40 Geth ¦ rakudo/nom: Test.pm: Don't print an empty line after a failed test
18:40 Geth ¦ rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d0a5cfa826
18:55 * Zoffix wonders if duke-m on GitHub and MasterDuke are the same person
18:59 MasterDuke not that /me is aware of (consciously at least). i'm masterduke17 on GH
19:02 Zoffix Ah :)
19:07 * japhb wonders whether there were actually 16+ previous 'masterduke's on GH
19:07 japhb It's like the old joke about Preparation H: "What went wrong with Preparations A through G?"
19:09 MasterDuke there was a masterduke already, so 17 is just what i usually stick on if there's a conflict, i've never seen  another one of those
19:10 Zoffix ZOFLOP: t/spec/S11-modules/nested.t
19:10 Zoffix ZOFFLOP: t/spec/S17-lowlevel/atomic-ops.t
19:10 Zoffix ZOFVM: Files=1273, Tests=144618, 132 wallclock secs (20.56 usr  3.76 sys + 2676.71 cusr 226.93 csys = 2927.96 CPU)
19:11 * AlexDaniel normally decides not to create an account if “AlexDaniel” exists already
19:11 MasterDuke huh, i thought nine fixed t/spec/S11-modules/nested.t
19:11 Zoffix I did two runs and it flopped on both
19:11 Zoffix that's with a fresh checkout of the repo
19:11 MasterDuke nine: ^^^
20:47 lizmat joined #perl6-dev
20:47 timotimo yo japhb, you still up?
21:13 pyrimidine joined #perl6-dev
21:14 pyrimidine AlexDaniel: was the regression from this point? https://irclog.perlgeek.de/perl6-dev/2017-08-08#i_14984637
21:15 pyrimidine ah, I guess it was :(
21:16 AlexDaniel pyrimidine: um, why so sad? Look
21:16 AlexDaniel bench: 67455170c https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
21:16 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
21:16 benchable6 AlexDaniel, starting to benchmark the 1 given commit
21:16 * pyrimidine has been offline for a while, lurking via moritz++ logs :)
21:16 AlexDaniel pyrimidine: I'm assuming that's when it was fast, right?
21:16 benchable6 AlexDaniel, ¦6745517: «3.8732»
21:16 AlexDaniel bench: HEAD https://gist.githubusercontent.com/AlexDaniel/e9867227266f61e2c8f451c6cc54cc03/raw/97b2217f1d0b5bdec101b9fab1185e19c19a81a8/gistfile1.txt
21:16 benchable6 AlexDaniel, Successfully fetched the code from the provided URL.
21:16 benchable6 AlexDaniel, starting to benchmark the 1 given commit
21:17 benchable6 AlexDaniel, ¦HEAD: «3.4080»
21:17 pyrimidine AlexDaniel: seems to be, at least w/ the benchmarks
21:17 AlexDaniel but it is faster on HEAD! :)
21:17 pyrimidine so, maybe it's the benchmarks?
21:18 AlexDaniel what's the input file that is used in Tux's benchmarks?
21:19 pyrimidine AlexDaniel: dunno, but I recall [Tux]++ pointing them out at some point in the backlog
21:20 pyrimidine I think it's under the Text::CSV report, checking...
21:21 pyrimidi_ joined #perl6-dev
21:35 AlexDani` joined #perl6-dev
21:44 pyrimidine joined #perl6-dev
21:49 pyrimidine AlexDani`: https://github.com/Tux/CSV I think
21:54 pyrimidine Ah, huggable
21:54 pyrimidine huggable: csv
21:54 huggable pyrimidine, https://github.com/Tux/CSV (see `bench csv` for how to run bench)
21:55 pyrimidine AlexDani`: ^^
21:55 lizmat joined #perl6-dev
21:58 AlexDaniel huggable: bench csv
21:58 huggable AlexDaniel, export PATH=`pwd`/install/bin:$PATH; cd CSV; for i in $(seq 1 10000); do echo 'hello,","," ",world,"!"'; done > /tmp/hello.csv; time perl6 -Ilib -MText::CSV test-t.pl </tmp/hello.csv
21:58 AlexDaniel pyrimidine: I did that ?
21:58 AlexDaniel pyrimidine: and with this the numbers on HEAD are better than anything else
21:59 samcv so i've basically made nqp::index just as fast for strands as it is for flat strings
21:59 samcv https://gist.github.com/samcv/d819fcf55d9cda23a14ec1f0f935818d
21:59 samcv \o/ very exciting
21:59 samcv these stats are from actual books and not synthetic representations. the 'concat' test is done of the book being made up of 20 strands
22:00 pyrimidine AlexDaniel: Interesting, so that suggests the latest [TuxCM] numbers are off somehow?
22:01 AlexDaniel pyrimidine: no idea
22:01 pyrimidine odd
22:01 Zoffix samcv++ That's great news!
22:01 samcv yeah :)
22:02 samcv i indexed the book for a real word but misspelled by one letter, so it was approximating actual search for a real word but making sure to go through the whole thing
22:07 samcv added numbers for searching for a single grapheme as well
22:08 samcv which are 10x faster for a strand based haystack. and 4.5x faster for others (searching a 32bit haystack with 8 bit needle) which is one of the more common things we do
22:08 lizmat samcv++
22:10 samcv eventually i want to understand how our regex engine works. somebody teach me!
22:16 b2gills I think there are very few people who understand the regex engine at all, who are still active with the project
22:16 samcv nice. now at least $Haystack ~~ /$needle/ where needle is made up of strands. if i disable flattening the haystack , it's now faster to not flatten than to flatten
22:16 samcv at least for that simple case of where needle is a variable
22:17 samcv 0.57751787 without optimizedindexing and 0.87365031 with
22:17 samcv curious how that applies to other things though like more complex regex
22:27 AlexDaniel oh wow. samcv++
23:56 BenGoldberg joined #perl6-dev

| Channels | #perl6-dev index | Today | | Search | Google Search | Plain-Text | summary