[Zope-dev] Re: SVN: zope.component/trunk/ Optimized un/registerUtility via storing an optimized data structure for

Hanno Schlichting plone at hannosch.info
Thu Nov 1 10:40:13 EDT 2007


Martijn Faassen wrote:
> Hanno Schlichting wrote:
>> Log message for revision 81348:
>>   Optimized un/registerUtility via storing an optimized data structure
>> for
>>   efficient retrieval of already registered utilities. This avoids
>> looping over
>>   all utilities when registering a new one.
> 
> You are changing what looks like persistent datastructures. Are you sure
> this doesn't introduce backwards compatibility issues?

Sorry, you are right. I changed it to only optimize non-persistent
registries and fall back on the algorithm which doesn't need an
optimized new data structure as before.

> I also question naming the next release 3.4.1. This is not a bugfix. I
> think it should come in as 3.5.

I'm not sure what criteria determine if something is a feature change
and what is not, so I changed the next version on trunk to 3.5.

Hanno



More information about the Zope-Dev mailing list