[Zope-dev] Zope 2.6 planning - call for contributors!
Chris Withers
chrisw@nipltd.com
Mon, 04 Mar 2002 07:08:58 +0000
Anthony Baxter wrote:
>
> >>> seb bacon wrote
> > > [CallProfiler]
> > FWIW, my own opinion is that it should not take the 'MonkeyPatch'
> > approach.
>
> Why? Any other approach means a slowdown in the Zope code regardless of
> whether profiling is turned on or off... monkeypatching means you end
> up with zero slowdown when not profiling.
...and in this case, I wouldn't call it MonkeyPatch-ing, just taking advantage of
Python's extremely dynamic nature for a very good cause.
cheers,
Chris