[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-09-04 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Greg Price for this nice optimization!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-09-03 Thread miss-islington


miss-islington  added the comment:


New changeset 4dd1c9d9c2bca4744c70c9556b7051f4465ede3e by Miss Islington (bot) 
in branch '3.8':
closes bpo-37966: Fully implement the UAX GH-15 quick-check algorithm. 
(GH-15558)
https://github.com/python/cpython/commit/4dd1c9d9c2bca4744c70c9556b7051f4465ede3e


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-09-03 Thread Maxime Belanger


Maxime Belanger  added the comment:

Thanks for that!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-09-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +15335
pull_request: https://github.com/python/cpython/pull/15671

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-09-03 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 2f09413947d1ce0043de62ed2346f9a2b4e5880b by Benjamin Peterson 
(Greg Price) in branch 'master':
closes bpo-37966: Fully implement the UAX #15 quick-check algorithm. (GH-15558)
https://github.com/python/cpython/commit/2f09413947d1ce0043de62ed2346f9a2b4e5880b


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-08-29 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-08-27 Thread Greg Price


Greg Price  added the comment:

Fix posted, as GH-15558.

Adding cc's for the folks in the thread on #32285, where this function was 
originally added.

--
components: +Unicode
nosy: +Maxime Belanger, benjamin.peterson, ezio.melotti, steven.daprano, 
vstinner
title: is_normalized is much slower than the standard's algorithm -> 
is_normalized is much slower at "no" than the standard's algorithm
versions: +Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com