From 2bb9b76c01019f3c82776429c07d34bd1c439f2b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 22 Jan 2009 08:03:37 +0000 Subject: If no subscribers are registered via ``registerHandler`` or ``registerSubscriptionAdapter``, ``notify`` is a noop for speed. --- CHANGES.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8c6be8eb8..d2c31903f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -14,10 +14,14 @@ Implementation Changes - Tease out an extra 4% performance boost by changing the Router; instead of using imported ZCA APIs, use the same APIs directly - against the registry that is an attribute of the Router. As a - result, the registry used by BFG is now a subclass of + against the registry that is an attribute of the Router. + +- The registry used by BFG is now a subclass of ``zope.component.registry.Components`` (defined as - ``repoze.bfg.registry.Registry``); it has a ``notify`` method. + ``repoze.bfg.registry.Registry``); it has a ``notify`` method, a + ``registerSubscriptionAdapter`` and a ``registerHandler`` method. + If no subscribers are registered via ``registerHandler`` or + ``registerSubscriptionAdapter``, ``notify`` is a noop for speed. 0.6.3 (2009-01-19) ================== -- cgit v1.2.3