You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove ``wait_socket_*``, ``notify_socket_closing``, ``notify_fd_closing``, ``run_sync_in_worker_thread`` and ``current_default_worker_thread_limiter``. They were deprecated in 0.12.0. (`#1596 <https://github.com/python-trio/trio/issues/1596>`__)
57
+
58
+
59
+
Miscellaneous internal changes
60
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61
+
62
+
- When using :ref:`instruments <instrumentation>`, you now only "pay for what you use":
63
+
if there are no instruments installed that override a particular hook such as
64
+
:meth:`~trio.abc.Instrument.before_task_step`, then Trio doesn't waste any effort
65
+
on checking its instruments when the event corresponding to that hook occurs.
66
+
Previously, installing any instrument would incur all the instrumentation overhead,
67
+
even for hooks no one was interested in. (`#1340 <https://github.com/python-trio/trio/issues/1340>`__)
0 commit comments