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 _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )