remove old comment
This commit is contained in:
parent
71862cd1dd
commit
d304b9d09f
@ -31,12 +31,6 @@ class Encoder(object):
|
|||||||
be. Nevertheless, the API of this class does not return the byte.
|
be. Nevertheless, the API of this class does not return the byte.
|
||||||
|
|
||||||
The caller use to do the character conversion itself.
|
The caller use to do the character conversion itself.
|
||||||
|
|
||||||
$ python -m timeit -s "{u'ö':'a'}.get(u'ö')"
|
|
||||||
100000000 loops, best of 3: 0.0133 usec per loop
|
|
||||||
|
|
||||||
$ python -m timeit -s "u'ö'.encode('latin1')"
|
|
||||||
100000000 loops, best of 3: 0.0141 usec per loop
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, codepage_map):
|
def __init__(self, codepage_map):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user