On Mon, Jul 30, 2001 at 11:43:25AM -0500, Steve Snyder wrote:
> If I improve the performance
> of perl itself (by building it with different compiler switches) will this
> translate into improved runtime performance in the perl program itself?
Yes.
Add -Doptimize='FLAGS' to your Configure line. But make sure perl still
passes all its tests.
Historically some compilers have had problems optimising some parts of
perl, although this is rarer nowadays.
> My (dim) understanding is that perl works as a sort of runtime compiler.
> This leave me uncertain if a faster perl build/installation will actually
> run the programs faster or simply "compile" them faster at startup, leaving
> the runtime performance unchanged.
It should do both. It's probably worth benchmarking if it's important
to you.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]