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