[issue46881] Statically allocate and initialize the latin1 characters.

2022-03-11 Thread Ken Jin
Ken Jin added the comment: New changeset 54ab9ad312ea53db40e31712454272e1d4c0315f by Jelle Zijlstra in branch 'main': bpo-46881: Fix refleak from GH-31616 (GH-31805) https://github.com/python/cpython/commit/54ab9ad312ea53db40e31712454272e1d4c0315f -- nosy: +kj _

[issue46881] Statically allocate and initialize the latin1 characters.

2022-03-10 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +Jelle Zijlstra nosy_count: 5.0 -> 6.0 pull_requests: +29906 pull_request: https://github.com/python/cpython/pull/31805 ___ Python tracker _

[issue46881] Statically allocate and initialize the latin1 characters.

2022-03-09 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> performance ___ Python tracker ___ __

[issue46881] Statically allocate and initialize the latin1 characters.

2022-03-09 Thread miss-islington
miss-islington added the comment: New changeset 8714b6fa27271035dd6dd3514e283f92d669321d by Kumar Aditya in branch 'main': bpo-46881: Statically allocate and initialize the latin1 characters. (GH-31616) https://github.com/python/cpython/commit/8714b6fa27271035dd6dd3514e283f92d669321d --

[issue46881] Statically allocate and initialize the latin1 characters.

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29741 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31616 ___ Python tracker ___ ___

[issue46881] Statically allocate and initialize the latin1 characters.

2022-02-28 Thread Kumar Aditya
New submission from Kumar Aditya : Statically allocate and initialize the latin1 characters. This *should* make iterating over a ascii strings faster as it avoids an atomic read in PyInterpreterState_GET() to get unicode state in get_latin1_char, makes get_latin1_char branchless and can be us