Steve Dower <[email protected]> added the comment:

mimetypes doesn't _really_ support clearing, but `python.exe -m timeit "import 
mimetypes as M; M.types_map.clear(); M.init()"` is pretty close.

Without the accelerator: 133ms
With the accelerator: 27.8ms

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44582>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to