From b89ec92e6a47181229760a5546abd7ef53bbf87a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Dec 2008 19:08:43 +0000 Subject: Use ``ob.__class__ is unicode`` (~ 15% faster). --- CHANGES.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 4cca670d3..a98d135d1 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,9 +2,10 @@ Next release - Speed up ``traversal.model_url`` execution by using a custom url quoting function instead of Python's ``urllib.quote``, by caching - URL path segment quoting and encoding results, and by disusing + URL path segment quoting and encoding results, by disusing Python's ``urlparse.urljoin`` in favor of a simple string - concatenation. + concatenation, and by using ``ob.__class__ is unicode`` rather + than ``isinstance(ob, unicode)`` in one strategic place. 0.5.5 (12/17/2008) -- cgit v1.2.3