Robert Collins added the comment:

So this test script is making a 65K entry dict, and each item is a new, 
separate 65K string. The strings are allocated in single chunks, so we should 
expect  couple hundred reference count writes total.

AIUI involuntary context switches occur when there is CPU contention. What else 
do you have running? 

Notable Python is taking 3.83 seconds of system time, much more than your other 
tests. You may get some insight from strace -c.

----------
nosy: +rbcollins

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

Reply via email to