与Ddebugging一起编译时,Perl较慢?
根据
它读了,
避免版本的
perl
用线程或ddebugging
。
我知道大多数发行版都用线程编译PERL,但是我对Debian的perl(如perl -v
_所观察到的,用-ddebugging = -g
编译了这会减慢它的速度吗?
According to this slide from Supercharging Perl - Daina Pettit,
It reads,
Avoid versions of
perl
compiled with threading orDDEBUGGING
unless you know you need them.
I know most distros compile Perl with threading, but my Perl on Debian (as observed with perl -V
_ is compiled with -DDEBUGGING=-g
does this slow it down?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
但是,
-ddebugging = -g
不启用调试:也记录了:
。 /code>,如果看到以下内容,则没有
-ddebugging
,Perl with debugging enabled is slower.,
However,
-DDEBUGGING=-g
does not enable debugging:and also documented:
You can test status with:
perl -D
, if you see the following you do not have-DDEBUGGING
,