From ae83c782155ffe86830c3255e338f366e331ad30 Mon Sep 17 00:00:00 2001 From: Itamar Ostricher Date: Wed, 14 Dec 2022 11:14:16 -0800 Subject: GH-100000: Cleanup and polish various watchers code (GH-99998) * Initialize `type_watchers` array to `NULL`s * Optimize code watchers notification * Optimize func watchers notification --- Include/internal/pycore_interp.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Include') diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h index ffda135195..0e3d46852f 100644 --- a/Include/internal/pycore_interp.h +++ b/Include/internal/pycore_interp.h @@ -142,7 +142,6 @@ struct _is { // Initialized to _PyEval_EvalFrameDefault(). _PyFrameEvalFunction eval_frame; - PyDict_WatchCallback dict_watchers[DICT_MAX_WATCHERS]; PyFunction_WatchCallback func_watchers[FUNC_MAX_WATCHERS]; // One bit is set for each non-NULL entry in func_watchers uint8_t active_func_watchers; -- cgit v1.2.1