<html><head></head><body><div class="ydp88a40b6ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">For both of you, Joseph and Yary,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>I filed a police report at Milpitas Police Department because of <span>harassment. Please feel free to check it out.</span></div><div><span></span><br></div><div><br></div><div dir="ltr" data-setdir="false">TJ<br></div><div><br></div></div><div><br></div>
        
        </div><div id="yahoo_quoted_7077580165" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, March 29, 2021, 11:37:29 PM GMT+8, yary <not.com@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv7839460976"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Joe & other Raku study group attendees,<div><br clear="none"></div><div>At the time I left, we were looking at a grammar with a speed-memory issue on large-ish files. I had a germ of an idea which I couldn't express, and from the meeting notes I see you have a simple fix <i>"by changing stuff regex (.\*?) to non-greedy (.\*)</i>" I suspect the greedy-optimization works because the thing after the "stuff" regex is near the end of the file. Thus if instead it was close to the beginning, it would have a similar issue with greedy and non-greedy would fix.</div><div><br clear="none"></div><div>With a night to sleep on it, the thing I was thinking & trying to say is that, in the specialized HTML-grammar you had, the decision points are all at left-brackets. By re-writing "stuff" so that it will only backtrack when it hits a bracket, I expect more speed-memory gains.</div><div><br clear="none"></div><div>How well does this perform vs the simple .* greedy fix?</div><div><br clear="none"></div><div><div><div><font face="monospace">    regex stuff</font></div><div><font face="monospace">    { (  # capture stuff (positional capture might not be needed)</font></div><div><font face="monospace">        [               # Stuff is a group of either</font></div><div><font face="monospace">            \<          # a left-bracket decision point</font></div><div><font face="monospace">          ||            # or</font></div><div><font face="monospace">            <-[ \< ]>+: # a ratcheting string of non-decision points</font></div><div><font face="monospace">        ]*              # 0-many of those. Greedy or non-greedy both work?</font></div><div><font face="monospace">    ) }  # end capture, end regex</font></div></div><div><br clear="none"></div><div>This was harder to express verbally & in code than I expected!</div></div><div><br clear="none"></div><div><div><div class="yiv7839460976gmail_signature" dir="ltr">-y<br clear="none"></div></div><br clear="none"></div></div></div></div></div></div></div><br clear="none"><div class="yiv7839460976yqt4641988706" id="yiv7839460976yqt44151"><div class="yiv7839460976gmail_quote"><div class="yiv7839460976gmail_attr" dir="ltr">On Sun, Mar 28, 2021 at 4:23 PM Joseph Brenner <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:doomvox@gmail.com" target="_blank" href="mailto:doomvox@gmail.com">doomvox@gmail.com</a>> wrote:<br clear="none"></div><blockquote class="yiv7839460976gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex;">I did send this one out, but it doesn't seem that it went out exactly,<br clear="none">
so let's try this one more time.   The Study Group is happening,<br clear="none">
already in progress, though we'll be taking a break next week and<br clear="none">
broadcasting a burning yule log with the soundtrack to Jesus Christ<br clear="none">
Superstar.  (Just kidding)<br clear="none">
<br clear="none">
<br clear="none">
Flaming Carrot, "Night Patrol" (1986) by Bob Burden:<br clear="none">
<br clear="none">
    I feel it rising now...<br clear="none">
    ... like little bubbles...<br clear="none">
    THE MOON IS FULL...<br clear="none">
    ... in a full moon, your brain floats to top of your head...<br clear="none">
    I feel it...<br clear="none">
    beginning to boil...<br clear="none">
    a lot will happen tonight.<br clear="none">
<br clear="none">
The Raku Study Group<br clear="none">
<br clear="none">
March 28, 2021  1pm in California, 8pm in the UK<br clear="none">
<br clear="none">
Zoom meeting link:<br clear="none">
  <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://us02web.zoom.us/j/81127128506?pwd=N0I5bkxUZTRLaWwxN2RJTGlsT254QT09">https://us02web.zoom.us/j/81127128506?pwd=N0I5bkxUZTRLaWwxN2RJTGlsT254QT09</a><br clear="none">
<br clear="none">
Passcode: 4RakuRoll<br clear="none">
<br clear="none">
RSVPs are useful, though not needed:<br clear="none">
  <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://www.meetup.com/San-Francisco-Perl/events/277163968/">https://www.meetup.com/San-Francisco-Perl/events/277163968/</a><br clear="none">
_______________________________________________<br clear="none">
SanFrancisco-pm mailing list<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:SanFrancisco-pm@pm.org" target="_blank" href="mailto:SanFrancisco-pm@pm.org">SanFrancisco-pm@pm.org</a><br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://mail.pm.org/mailman/listinfo/sanfrancisco-pm">https://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br clear="none">
</blockquote></div></div>
</div></div><div class="yqt4641988706" id="yqt83591">_______________________________________________<br clear="none">SanFrancisco-pm mailing list<br clear="none"><a shape="rect" ymailto="mailto:SanFrancisco-pm@pm.org" href="mailto:SanFrancisco-pm@pm.org">SanFrancisco-pm@pm.org</a><br clear="none"><a shape="rect" href="https://mail.pm.org/mailman/listinfo/sanfrancisco-pm" target="_blank">https://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br clear="none"></div></div>
            </div>
        </div></body></html>