summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-30 06:11:10 (GMT)
committerGitHub <noreply@github.com>2017-03-30 06:11:10 (GMT)
commit0a58f72762353768c7d26412e627ff196aac6c4e (patch)
tree9312c7d228af2bd564621e56d39c25d575b3daa9 /Doc/whatsnew
parentba85d69a3e3610bdd05f0dd372cf4ebca178c7fb (diff)
downloadcpython-0a58f72762353768c7d26412e627ff196aac6c4e.zip
cpython-0a58f72762353768c7d26412e627ff196aac6c4e.tar.gz
cpython-0a58f72762353768c7d26412e627ff196aac6c4e.tar.bz2
bpo-24821: Fixed the slowing down to 25 times in the searching of some (#505)
unlucky Unicode characters.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 8f09621..e303dfd 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -138,6 +138,11 @@ Optimizations
in method calls being faster up to 20%. (Contributed by Yury Selivanov and
INADA Naoki in :issue:`26110`.)
+* Searching some unlucky Unicode characters (like Ukrainian capital "Є")
+ in a string was to 25 times slower than searching other characters.
+ Now it is slower only by 3 times in worst case.
+ (Contributed by Serhiy Storchaka in :issue:`24821`.)
+
* Fast implementation from standard C library is now used for functions
:func:`~math.tgamma`, :func:`~math.lgamma`, :func:`~math.erf` and
:func:`~math.erfc` in the :mod:`math` module. (Contributed by Serhiy