From 99dba27e9a671693710128c0cfb5ed6686cda79b Mon Sep 17 00:00:00 2001
From: Skip Montanaro <skip@pobox.com>
Date: Tue, 3 Sep 2002 20:19:06 +0000
Subject: [PATCH] Bump default check interval to 100 instructions.  Computers
 are much faster than when this interval was first established.  Checking too
 frequently just adds needless overhead because most of the time there is
 nothing to do and no other threads ready to run.

---
 Python/ceval.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Python/ceval.c b/Python/ceval.c
index 8b3823a05d..6364c3f681 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -469,8 +469,8 @@ static int unpack_iterable(PyObject *, int, PyObject **);
 
 /* for manipulating the thread switch and periodic "stuff" - used to be
    per thread, now just a pair o' globals */
-int _Py_CheckInterval = 10;
-volatile int _Py_Ticker = 10;
+int _Py_CheckInterval = 100;
+volatile int _Py_Ticker = 100;
 
 PyObject *
 PyEval_EvalCode(PyCodeObject *co, PyObject *globals, PyObject *locals)
-- 
2.50.1