This was intended to be friendly, helpful and non-competitive.
Perhaps you could've replied in a similar vein along these lines:
Thanks for taking the extra time to compare benchmark results. However, further testing on the intended (platform/OS/Perl version) indicates that my version will run faster and therefore I will be going with that solution.
Instead of:
- Using an unsubstantiated claim about what I understand. Are you psychic?
- Including pointless rhetoric. Neither you nor I claimed your (or my) code was faster. Perhaps take a moment to consider why you added this.
- Taking my statements out of context.
- Yet again you have focussed on passing array vs. arrayref while ignoring what is happening in the closure.
- Claiming I was talking about speed when I was, in fact, talking about speed differences (the former is absolute, the latter is relative).
Finally, I very much doubt that anyone able to understand the closure generation code will have the slightest problem dereferencing a scalarref. As such, I believe your initial target for improving user-friendliness should be the closure.
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, details, 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, summary, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.