Hello,
As you probably noticed, the 'required' dynamic protocol slows down
the code browsing.
The method DynamicProtocols class>>collectAllProtocolsOnClass: aClass
has the following comment:
"Returns a collection of all dynamic protocols that should be displayed
for the current class.
Only non-empty protocols are returned"
Although it makes sense to display non-empty protocols only,
DPRequired makes a significant slowdown because required methods have
to be computed to determine if this dynamic protocol has to be
displayed or not.
What about defining a hasRequiredMethod in Behavior? I guess this
will remove the slowdown...
Regards,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.