summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-20 23:56:40 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-01-20 23:56:40 +0100
commit22463aa947a75ae3298bca6457f0ae5b738b0d07 (patch)
tree6be94e80ebc26018efc8b43290e223585bb1499c /Python/strdup.c
parentc46d1faa4a4b483f2b241bfbe932824d54f2f026 (diff)
downloadcpython-git-22463aa947a75ae3298bca6457f0ae5b738b0d07.tar.gz
Close #20275: Optimize BaseEventLoop._run_once()
Logger.log() is "slow", logger.isEnabledFor() is faster and the logger is disabled in most cases. A microbenchmark executing 100,000 dummy tasks is 22% faster with this change.
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions