Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

BrowserUk sweetie, just so you know, GrandFather has helped me a lot over the years, so he kind of knows my quirks. What you saw as a knee-jerk reaction, was him seeing me saying something (in this case "faster") which is more than likely a alarm bell in his head actually. I am known to try to prematurely optimize my code. There are a few people on here who have told me not to do it, but I still do anyway. He chides me, I think, because he wants to remind me of one of my bad habits. Now you know about it, I am sure you will more than likely gently nudge me now and again if you see me doing it in the future.

As to my motivation to empty over delete, it is quite simple. I read in delete's doc "But both of these are slower than just assigning the empty list or undefining %HASH or @ARRAY:", so I looked at the suggestion below it, and used it instead. I didn't do any fancy testing (since I don't get testing as you know it) or whatever profiling is. (I think GrandFather was also trying, again, to push me into teaching myself testing which I tend to avoid because of the complexity of it. That is another discussion for another time.)

Now, would you please do me a teeny tiny favor and expand your abbreviations (AV*, HV*, and GCs)? I don't want to get it wrong in my head.

You can relax. GrandFather and others may look like they are coming on strong with their opinions to me, and most likely, it is to push me into the right direction when I appear bound and determined to go wrong. (In some rare cases their pushing worked actually.) So sit back and have a cookie. :)

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena

In reply to Re^7: I have a list expanding when I don't want it to by Lady_Aleena
in thread I have a list expanding when I don't want it to by Lady_Aleena

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (2)
    As of 2019-06-16 10:31 GMT
    Find Nodes?
      Voting Booth?
      Is there a future for codeless software?

      Results (76 votes). Check out past polls.