[squeak-dev] Re: MC ancestry slowness
Andreas Raab
andreas.raab at gmx.de
Sat Dec 19 15:26:37 UTC 2009
Bert Freudenberg wrote:
> I'd rather prune the search. I think inserting this line
>
> (aVersionInfo hasAncestor: target) ifFalse: [^false].
>
> before "self pushLayer" in MCFilteredVersionSorter>>processVersionInfo: would do the trick. At least in your example it works fine.
If you have any confidence in the change, please do. My problem is that
I don't understand what exactly is going on in the search and
consequently I'm not sure how to prune the search properly. Great
example why tests are no replacement for comments btw.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|