[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Class::Fields, a base/fields.pm rewrite



Michael G Schwern writes:
> base.pm already does all the %FIELDS stuff.  The only difference is
> that instead of going it inside fields.pm and base.pm it does it in
> seperate libraries.

Which is a performance hit.

> As far as efficiency goes, yes there is a slight drop off.  I've seen
> that my changes cause base.pm to take longer to initally load and use
> up about 100KB more memory, but the run-time is the same (which is to
> say, negligible).  Of course, I haven't done any optimizations yet.

This is a lot for smaller modules than Tk.  Why not make base load
fielded stuff only if needed?

Ilya


References to:
Michael G Schwern <schwern@pobox.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]