Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Speeding up a Perl code. Can it be faster?

by oiskuu (Hermit)
on Jun 11, 2016 at 15:49 UTC ( [id://1165402]=note: print w/replies, xml ) Need Help??


in reply to Re: Speeding up a Perl code. Can it be faster?
in thread Speeding up a Perl code. Can it be faster?

Your first_draft() and forth_draft() produce differing results when an attribute is missing from $markup.

At this point, the exercise appears as one of futility. We don't know what the problem is, which parameters are global, which are variable. We don't know what the inputs are to the function, or even if it's a function that you need in the first place.

Please concentrate on the correctness before tackling the overhead. Please expound on the actual problem before coding up a solution. Maybe we can comment on that and offer alternatives.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1165402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-29 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found