The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)
Terry Reedy
tjreedy at udel.edu
Mon Mar 21 20:20:25 EDT 2016
On 3/21/2016 1:12 PM, BartC wrote:
> Given that 99.9998% of input byte data is ASCII, and 99.9999% of
> characters (in this data), is it unreasonable to concentrate on that
> 0..127 range?
No. And if you take the approach of mapping the whole ascii set, you
should use a lookup sequence rather than a lookup dict.
--
Terry Jan Reedy
More information about the Python-list
mailing list