[Python-Dev] Re: Should set objects maintain insertion order too?

2019-12-26 Thread Tim Peters
[Tim] >> - I don't have a theory for why dict build time is _so_ much higher >> than dict lookup time for the nasty keys. To be clearer, in context this was meant to be _compared to_ the situation for sets. These were the numbers: 11184810 nasty keys dict build 23.32 dict lookup

[Python-Dev] Python Documentation and AIX specifics - how to proceed?

2019-12-26 Thread Michael
First - best wishes all for a happy and healthy 2020! As my nickname implies - my primary means to contribute to Python is with regard to AIX. One of the things I recently came across is Misc/README.AIX which was last updated sometime between 2010 and 2014. I am thinking a facelift is in order.

[Python-Dev] Re: Should set objects maintain insertion order too?

2019-12-26 Thread Serhiy Storchaka
26.12.19 00:56, Tim Peters пише: - I don't have a theory for why dict build time is _so_ much higher than dict lookup time for the nasty keys. 1/2 of items were copied to a new hashtable when the dict grew up. 1/4 of items were copied twice. 1/8 of items were copied three times, etc. In