Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Why doesn't perl optimize this?

by nbtrap (Sexton)
on Jun 05, 2013 at 01:57 UTC ( #1037086=note: print w/replies, xml ) Need Help??


in reply to Re^4: Why doesn't perl optimize this?
in thread Why doesn't perl optimize this?

I agree that the compiler can't know in the case you cite. But what about the case I cited?

Replies are listed 'Best First'.
Re^6: Why doesn't perl optimize this?
by LanX (Chancellor) on Jun 05, 2013 at 02:12 UTC
    > But what about the case I cited?

    It's extremely complicated and risky to cover ALL edge cases. It's not worth it and BrowserUK already told you!

    If you think such code analysis is easy, please better try implementing a JIT compiler for Perl...

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-01-17 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.