On 09/15/2016 08:02 AM, Raymond Hettinger wrote:

Eric is correct on this one.  The consecutive hashes make a huge difference for 
Python 3.5.   While there is a table full table scan, the check for NULL 
entries becomes a predictable branch when all the keys are in consecutive 
positions.   There is an astonishingly well written stack overflow post that 
explains this effect clearly: http://stackoverflow.com/questions/11227809

Thanks for that.  Very good answer.

--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to