Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^17: Memory leak question

by SBECK (Hermit)
on Oct 07, 2010 at 11:24 UTC ( #863977=note: print w/replies, xml ) Need Help??


in reply to Re^16: Memory leak question
in thread Memory leak question

Thanks for the suggestion. I actually already tested this type of regexp (it was suggested in a previous question I posted about named captures: http://perlmonks.org/?node_id=810388). Unfortunately, the relatively simple tests I benchmarked weren't "a little slower". They were 7x slower!

So, unfortunately, I think I'm going to have to leave the current code in place meaning that there will be a problem for anyone using Date::Manip in a persistant program. Sooner or later, the problem will be fixed. I'm going to add a note to this affect to the documentation, but for now, I think that's going to be the extent of it.

Thanks again for an incredibly educational and fun (and frustrating... but not due to you) conversation!

Replies are listed 'Best First'.
Re^18: Memory leak question
by BrowserUk (Pope) on Oct 07, 2010 at 11:43 UTC
    Unfortunately, the relatively simple tests I benchmarked weren't "a little slower". They were 7x slower!

    Ouch! I can see how that it would be disastrous to expend all the effort of converting only to find those monsters running like they were on 1990's hardware :)

    Thanks again for an incredibly educational and fun (and frustrating... but not due to you) conversation!

    As always with the interesting problems. I probably got as much out of the exercise as you did. That's what keeps me coming back to this place. Moi petites cellules grises need stimulation otherwise they atrophy. Fast!


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863977]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2018-07-16 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (330 votes). Check out past polls.

    Notices?