Serhiy Storchaka added the comment:

Oh, this was incorrect example. The correct one is:

$ ./python -m timeit -s "from http.cookiejar import parse_ns_headers" -- 
"parse_ns_headers(['foo=bar; path=/; version=1; Expires=Thu, 01 Jan 1970 
00:00:10 GMT'])"
Before: 10000 loops, best of 3: 177 usec per loop
After:  10000 loops, best of 3: 104 usec per loop

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13290>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to