[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-06 Thread STINNER Victor
STINNER Victor added the comment: My commit ea251806b8d11b30d2182af1e589caf88acf (interned strings) introduced bpo-46006 "[subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters" regression. To unblock the Python 3.11.0a4 release, I just reverted the change. It

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 72c260cf0c71eb01eb13100b751e9d5007d00b70 by Victor Stinner in branch '3.10': [3.10] bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" (GH-30422) (GH-30425)

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28640 pull_request: https://github.com/python/cpython/pull/30433 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-06 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28631 pull_request: https://github.com/python/cpython/pull/30425 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35d6540c904ef07b8602ff014e520603f84b5886 by Victor Stinner in branch 'main': bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" (GH-30422)

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2022-01-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28626 pull_request: https://github.com/python/cpython/pull/30422 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-06-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Victor Stinner] > My plan is to merge changes which have no significant > impact on performances FWIW, PyFloat_FromDouble() is the most performance critical function in floatobject.c. -- ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-05-17 Thread STINNER Victor
STINNER Victor added the comment: > I reopen the issue to remind me that collections.deque() freelist is shared > by all interpreters. Each deque instance now has its own free list. But dtoa.c still has a per-process cache, shared by all interpreters. --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-05-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +24574 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/25906 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-25 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue to remind me that collections.deque() freelist is shared by all interpreters. -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 3bb19873abd572879cc9a8810b1db9db1f704070 by Raymond Hettinger in branch 'master': Revert "bpo-40521: Remove freelist from collections.deque() (GH-21073)" (GH-24944)

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 39f643614d03748a5fad462fe7ed26a174a522fa by Victor Stinner in branch 'master': Revert "bpo-40521: Make dtoa bigint free list per-interpreter (GH-24821)" (GH-24964)

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23723 pull_request: https://github.com/python/cpython/pull/24964 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-22 Thread STINNER Victor
STINNER Victor added the comment: Mark Dickinson: "I just noticed the change to dtoa.c in GH-24821. Please could you explain what the benefit of this change was?" The rationale is explained in bpo-40512. The goal is to run multiple Python interpreters in parallel in the same process.

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-21 Thread Mark Dickinson
Mark Dickinson added the comment: Hi Victor, I just noticed the change to dtoa.c in GH-24821. Please could you explain what the benefit of this change was? In general, we need to be very conservative with changes to dtoa.c: it's a complex, fragile, performance-critical piece of code, and

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +23703 pull_request: https://github.com/python/cpython/pull/24944 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-17 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5bd1059184b154d339f1bd53d23c98b5bcf14c8c by junyixie in branch 'master': bpo-40521: Make dtoa bigint free list per-interpreter (GH-24821) https://github.com/python/cpython/commit/5bd1059184b154d339f1bd53d23c98b5bcf14c8c --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-11 Thread junyixie
junyixie added the comment: https://github.com/python/cpython/pull/24821/commits/9d7681dbd273b5025fd9b19d1be0a1f978a0b12e -- ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-03-11 Thread junyixie
junyixie added the comment: Should Make dtoa bigint free list per-interpreter. static Bigint *bigint_freelist[Kmax+1]; -> _is { Bigint *bigint_freelist[Kmax+1]; } -- message_count: 43.0 -> 44.0 nosy: +JunyiXie nosy_count: 5.0 -> 6.0 pull_requests: +23587 pull_request:

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2021-01-29 Thread STINNER Victor
STINNER Victor added the comment: > I reopen the issue. This change caused a regression in attached > interned_bug.py. Fixed by: commit c8a87addb1fa35dec79ed8f227eba3694fc36234 Author: Mohamed Koubaa Date: Mon Jan 4 08:34:26 2021 -0600 bpo-1635741: Port pyexpat to multi-phase init

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-12-26 Thread STINNER Victor
STINNER Victor added the comment: > New changeset ea251806b8d11b30d2182af1e589caf88acf by Victor Stinner in > branch 'master': > bpo-40521: Per-interpreter interned strings (GH-20085) I reopen the issue. This change caused a regression in attached interned_bug.py. Output: --- $ ./python

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-12-25 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40521: Per-interpreter interned strings (GH-20085) That one wasn't easy, but it's now done! I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-12-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea251806b8d11b30d2182af1e589caf88acf by Victor Stinner in branch 'master': bpo-40521: Per-interpreter interned strings (GH-20085) https://github.com/python/cpython/commit/ea251806b8d11b30d2182af1e589caf88acf --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7f413a5d95e6d7d6e2c9844c33594d6288f4 by Victor Stinner in branch 'master': bpo-40521: Fix PyUnicode_InternInPlace() (GH-22376) https://github.com/python/cpython/commit/7f413a5d95e6d7d6e2c9844c33594d6288f4 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-09-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21415 pull_request: https://github.com/python/cpython/pull/22376 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-07-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 90db4653ae37ef90754cfd2cd6ec6857b87a88e6 by Victor Stinner in branch 'master': bpo-40521: Cleanup finalize_interp_types() (GH-21265) https://github.com/python/cpython/commit/90db4653ae37ef90754cfd2cd6ec6857b87a88e6 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-07-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20413 pull_request: https://github.com/python/cpython/pull/21265 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 by Victor Stinner in branch 'master': bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142) https://github.com/python/cpython/commit/91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20301 pull_request: https://github.com/python/cpython/pull/21142 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0430dfac629b4eb0e899a09b899a494aa92145f6 by Victor Stinner in branch 'master': bpo-40521: Always create the empty tuple singleton (GH-21116) https://github.com/python/cpython/commit/0430dfac629b4eb0e899a09b899a494aa92145f6 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20279 pull_request: https://github.com/python/cpython/pull/21116 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset cde283d16d87024f455e45c6f1b4e4f7d8905836 by Victor Stinner in branch 'master': bpo-40521: Fix _PyContext_Fini() (GH-21103) https://github.com/python/cpython/commit/cde283d16d87024f455e45c6f1b4e4f7d8905836 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20271 pull_request: https://github.com/python/cpython/pull/21103 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2f9ada96e0d420fed0d09a032b37197f08ef167a by Victor Stinner in branch 'master': bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101) https://github.com/python/cpython/commit/2f9ada96e0d420fed0d09a032b37197f08ef167a --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20270 pull_request: https://github.com/python/cpython/pull/21101 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a by Victor Stinner in branch 'master': bpo-40521: Optimize PyUnicode_New(0, maxchar) (GH-21099) https://github.com/python/cpython/commit/90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20268 pull_request: https://github.com/python/cpython/pull/21099 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f363d0a6e9cfa50677a6de203735fbc0d06c2f49 by Victor Stinner in branch 'master': bpo-40521: Make empty Unicode string per interpreter (GH-21096) https://github.com/python/cpython/commit/f363d0a6e9cfa50677a6de203735fbc0d06c2f49 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20263 pull_request: https://github.com/python/cpython/pull/21096 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 281cce1106568ef9fec17e3c72d289416fac02a5 by Victor Stinner in branch 'master': bpo-40521: Make MemoryError free list per interpreter (GH-21086) https://github.com/python/cpython/commit/281cce1106568ef9fec17e3c72d289416fac02a5 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f9bd05e83e32bece49de5af0c9a232325c57648a by Raymond Hettinger in branch 'master': bpo-40521: Empty frozenset is no longer a singleton (GH-21085) https://github.com/python/cpython/commit/f9bd05e83e32bece49de5af0c9a232325c57648a --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20252 pull_request: https://github.com/python/cpython/pull/21086 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +20251 pull_request: https://github.com/python/cpython/pull/21085 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 522691c46e2ae51faaad5bbbce7d959dd61770df by Victor Stinner in branch 'master': bpo-40521: Cleanup code of free lists (GH-21082) https://github.com/python/cpython/commit/522691c46e2ae51faaad5bbbce7d959dd61770df --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20248 pull_request: https://github.com/python/cpython/pull/21082 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c41eed1a874e2f22bde45c3c89418414b7a37f46 by Victor Stinner in branch 'master': bpo-40521: Make bytes singletons per interpreter (GH-21074) https://github.com/python/cpython/commit/c41eed1a874e2f22bde45c3c89418414b7a37f46 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 32f2eda85957365d208f499b730d30b7eb419741 by Raymond Hettinger in branch 'master': bpo-40521: Remove freelist from collections.deque() (GH-21073) https://github.com/python/cpython/commit/32f2eda85957365d208f499b730d30b7eb419741 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20242 pull_request: https://github.com/python/cpython/pull/21074 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger nosy_count: 4.0 -> 5.0 pull_requests: +20241 pull_request: https://github.com/python/cpython/pull/21073 ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 261cfedf7657a515e04428bba58eba2a9bb88208 by Victor Stinner in branch 'master': bpo-40521: Make the empty frozenset per interpreter (GH-21068) https://github.com/python/cpython/commit/261cfedf7657a515e04428bba58eba2a9bb88208 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20237 pull_request: https://github.com/python/cpython/pull/21068 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: All free lists are now per-interpreter! See Modules/gcmodule.c: static void clear_freelists(PyThreadState *tstate) { _PyFrame_ClearFreeList(tstate); _PyTuple_ClearFreeList(tstate); _PyFloat_ClearFreeList(tstate); _PyList_ClearFreeList(tstate);

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset b4e85cadfbc2b1b24ec5f3159e351dbacedaa5e0 by Victor Stinner in branch 'master': bpo-40521: Make dict free lists per-interpreter (GH-20645) https://github.com/python/cpython/commit/b4e85cadfbc2b1b24ec5f3159e351dbacedaa5e0 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-08 Thread Mark Shannon
Mark Shannon added the comment: I'd be interested to see if you can get more consistent results. Performance of modern hardware is very sensitive to memory layout, so some sort of address randomization might be needed to remove artifacts of layout. It is possible that the objects on the free

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40887: "Free lists are still used after being finalized (cleared)". -- ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-06 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-05 Thread STINNER Victor
STINNER Victor added the comment: pyperformance comparaison between: * commit dc24b8a2ac32114313bae519db3ccc21fe45c982 (before "Make tuple free list per-interpreter" change) * PR 20645 (dict free lists) which cumulates all free lists changes (already commited + the PR) Extract of the

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-05 Thread STINNER Victor
STINNER Victor added the comment: > Have you done any performance analysis or tests of the cumulative effect of > all these changes? No. It would be interesting to measure that using pyperformance. -- ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-05 Thread Mark Shannon
Mark Shannon added the comment: I'm worried about the performance impact of these changes, especially as many of the changes haven't been reviewed. Have you done any performance analysis or tests of the cumulative effect of all these changes? -- nosy: +Mark.Shannon

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-05 Thread STINNER Victor
STINNER Victor added the comment: bench_dict.patch: Microbenchmark on the C function PyDict_New() to measure the overhead of PR 20645. -- Added file: https://bugs.python.org/file49216/bench_dict.patch ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-05 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40521: Make list free list per-interpreter (GH-20642) > https://github.com/python/cpython/commit/88ec9190105c9b03f49aaef601ce02b242a75273 This change contains an interesting fix: * _PyGC_Fini() clears gcstate->garbage list which can be stored in the

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19865 pull_request: https://github.com/python/cpython/pull/20645 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset e005ead49b1ee2b1507ceea94e6f89c28ecf1f81 by Victor Stinner in branch 'master': bpo-40521: Make context free list per-interpreter (GH-20644) https://github.com/python/cpython/commit/e005ead49b1ee2b1507ceea94e6f89c28ecf1f81 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19864 pull_request: https://github.com/python/cpython/pull/20644 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 78a02c2568714562e23e885b6dc5730601f35226 by Victor Stinner in branch 'master': bpo-40521: Make async gen free lists per-interpreter (GH-20643) https://github.com/python/cpython/commit/78a02c2568714562e23e885b6dc5730601f35226 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19863 pull_request: https://github.com/python/cpython/pull/20643 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88ec9190105c9b03f49aaef601ce02b242a75273 by Victor Stinner in branch 'master': bpo-40521: Make list free list per-interpreter (GH-20642) https://github.com/python/cpython/commit/88ec9190105c9b03f49aaef601ce02b242a75273 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19862 pull_request: https://github.com/python/cpython/pull/20642 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3744ed2c9c0b3905947602fc375de49533790cb9 by Victor Stinner in branch 'master': bpo-40521: Make frame free list per-interpreter (GH-20638) https://github.com/python/cpython/commit/3744ed2c9c0b3905947602fc375de49533790cb9 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19858 pull_request: https://github.com/python/cpython/pull/20638 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7daba6f221e713f7f60c613b246459b07d179f91 by Victor Stinner in branch 'master': bpo-40521: Make slice cache per-interpreter (GH-20637) https://github.com/python/cpython/commit/7daba6f221e713f7f60c613b246459b07d179f91 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2ba59370c3dda2ac229c14510e53a05074b133d1 by Victor Stinner in branch 'master': bpo-40521: Make float free list per-interpreter (GH-20636) https://github.com/python/cpython/commit/2ba59370c3dda2ac229c14510e53a05074b133d1 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19857 pull_request: https://github.com/python/cpython/pull/20637 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19856 pull_request: https://github.com/python/cpython/pull/20636 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 69ac6e58fd98de339c013fe64cd1cf763e4f9bca by Victor Stinner in branch 'master': bpo-40521: Make tuple free list per-interpreter (GH-20247) https://github.com/python/cpython/commit/69ac6e58fd98de339c013fe64cd1cf763e4f9bca --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file49211/bench_tuple.patch ___ Python tracker ___ ___ Python-bugs-list

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49212/bench_tuple.patch ___ Python tracker ___ ___ Python-bugs-list

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file49210/microbench_tuple.py ___ Python tracker ___ ___ Python-bugs-list

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49213/microbench_tuple.py ___ Python tracker ___ ___ Python-bugs-list

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file49211/bench_tuple.patch ___ Python tracker ___ ___ Python-bugs-list

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-02 Thread STINNER Victor
STINNER Victor added the comment: Microbenchmark for tuple free list to measure PR 20247 overhead: microbench_tuple.py. It requires to apply bench_tuple.patch. -- Added file: https://bugs.python.org/file49210/microbench_tuple.py ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0509c4547fc95cc32a91ac446a26192c3bfdf157 by Victor Stinner in branch 'master': bpo-40521: Fix update_slot() when INTERN_NAME_STRINGS is not defined (#20246) https://github.com/python/cpython/commit/0509c4547fc95cc32a91ac446a26192c3bfdf157

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19535 pull_request: https://github.com/python/cpython/pull/20247 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19534 pull_request: https://github.com/python/cpython/pull/20246 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Make tuple, dict, frame free lists, unicode interned strings, unicode latin1 singletons per-interpreter -> [subinterpreters] Make free lists and unicode caches per-interpreter