Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
No such thing as a small change
 
PerlMonks  

Re^2: Is your Perl running as fast as possible?

by Anonymous Monk
on Oct 17, 2005 at 12:24 UTC ( [id://500774]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Is your Perl running as fast as possible?
in thread Is your Perl running as fast as possible?

among things discussed on p5p, I remember it was mentioned that some RedHat distributions go with DEBUG-enabled builds of perl, which is rather sad.
What's bad about running a debug enabled perl? Are you worried about a microscopic increase in the size of the perl binary caused by debugging symbols? Is there something else I should be aware of?
  • Comment on Re^2: Is your Perl running as fast as possible?

Replies are listed 'Best First'.
Re^3: Is your Perl running as fast as possible?
by perrin (Chancellor) on Oct 17, 2005 at 15:16 UTC
    It's a little slower. Compiling for threads make it a lot slower.
      not only "debug symbols" that binary will contain, it will also contain code within some #ifdef's; yet some -Oxxx are disabled

      Let's RTFS a bit -- following is an excerpt from ./win32/makefile.mk (same for linux build, I guess)

      # # uncomment next line if you want debug version of perl (big,slow) # If not enabled, we automatically try to use maximum optimization # with all compilers that are known to have a working optimizer. # #CFG *= Debug

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://500774]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.