[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 20000125.002] Problem in documentation of Fcntl constants
On Wed, 26 Jan 2000 15:43:22 EST, Ilya Zakharevich wrote:
>Gurusamy Sarathy writes:
>> I think the better approach is to make h2xs generate newCONSTSUB() entries
>> for constants, and do away with encouraging the AUTOLOAD-based mechanism
>> altogether. ext/B/defsubs_h.PL does this already.
>
>This in an enormous overhead. Imagine loading a module with 6000
>constants taking 6M just-for-nothing.
>
>Putting prototypes may be a better solution for largish modules:
>prototypes takes circa 120bytes per a proto.
OK, h2xs should be able to generate those automatically too. That lets
us keep the AUTOLOAD based scheme.
Advance thanks to the person who's going to send me the patch.
Sarathy
gsar@ActiveState.com
- Follow-Ups from:
-
Ilya Zakharevich <ilya@math.ohio-state.edu>
- References to:
-
Ilya Zakharevich <ilya@math.ohio-state.edu>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]