[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: Exported constants not inlined?
On Wed, 26 Jan 2000 13:20:39 GMT, Matt Sergeant wrote:
>I was under the impression that constant functions got converted to
>constants at compile time. Yet when running Devel::DProf on some code I
>noticed my constants were being called as ordinary functions. Is this
>because I've got them in a separate Exporter module, and if so - can this
>be fixed somehow (preferably without explicitly specifying the full package
>name)?
IIRC, the constant function optimization doesn't happen under the -d
switch (which DProf uses).
Sarathy
gsar@ActiveState.com
- Follow-Ups from:
-
Ilya Zakharevich <ilya@math.ohio-state.edu>
- References to:
-
Matt Sergeant <matt@sergeant.org>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]