The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

Terry Reedy tjreedy at udel.edu
Mon Mar 21 19:50:42 EDT 2016


On 3/21/2016 8:43 AM, BartC wrote:

> This tests highlights the benefits of an O(1) switch statement.

So why are you not taking advantage of Python's O(1) dict lookup?


-- 
Terry Jan Reedy




More information about the Python-list mailing list