[issue46148] Optimize pathlib

2022-01-09 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: -kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46148] Optimize pathlib

2022-01-08 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46148] Optimize pathlib

2022-01-08 Thread Barney Gale
Change by Barney Gale : -- nosy: +barneygale nosy_count: 8.0 -> 9.0 pull_requests: +28697 pull_request: https://github.com/python/cpython/pull/30492 ___ Python tracker ___

[issue46148] Optimize pathlib

2022-01-05 Thread Éric Araujo
Éric Araujo added the comment: A note about benchmarks: I think timeit is not the right tool for them, but https://github.com/python/pyperformance is -- nosy: +eric.araujo ___ Python tracker

[issue46148] Optimize pathlib

2022-01-05 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> postponed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46148] Optimize pathlib

2022-01-05 Thread Kumar Aditya
Kumar Aditya added the comment: I am withdrawing this for now and since there is already a bpo for vectorcall I am closing this. -- ___ Python tracker ___

[issue46148] Optimize pathlib

2022-01-02 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +28560 pull_request: https://github.com/python/cpython/pull/27828 ___ Python tracker ___

[issue46148] Optimize pathlib

2021-12-22 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46148] Optimize pathlib

2021-12-22 Thread Dennis Sweeney
Dennis Sweeney added the comment: I have https://github.com/python/cpython/pull/27828 open already to add vectorcall to itemgetter and attrgetter -- nosy: +Dennis Sweeney ___ Python tracker

[issue46148] Optimize pathlib

2021-12-22 Thread Guido van Rossum
Guido van Rossum added the comment: > Note: attrgetter could easily be made faster by migrating it to use > vectorcall. Sure, though code that *doesn't* use attrgetter is usually easier to read -- attrgetter is rare enough in my experience that I usually have to look it up. So making

[issue46148] Optimize pathlib

2021-12-22 Thread Josh Rosenberg
Josh Rosenberg added the comment: Note: attrgetter could easily be made faster by migrating it to use vectorcall. -- nosy: +josh.r ___ Python tracker ___

[issue46148] Optimize pathlib

2021-12-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46148] Optimize pathlib

2021-12-22 Thread Guido van Rossum
Guido van Rossum added the comment: I presume https://github.com/faster-cpython/ideas/discussions/194 is also relevant. -- ___ Python tracker ___

[issue46148] Optimize pathlib

2021-12-22 Thread Kumar Aditya
Kumar Aditya added the comment: Benchmarks for attrgetter is provided in the PR. -- ___ Python tracker ___ ___ Python-bugs-list

[issue46148] Optimize pathlib

2021-12-22 Thread Kumar Aditya
Kumar Aditya added the comment: Optimizations include: - Remove redundant check for functools lru_cache - Replace attrgetter as it is slower than direct access -- ___ Python tracker

[issue46148] Optimize pathlib

2021-12-22 Thread Christian Heimes
Christian Heimes added the comment: Please provide benchmarks and reasons in the ticket. A BPO issue should contain all relevant information for a change. -- nosy: +christian.heimes ___ Python tracker

[issue46148] Optimize pathlib

2021-12-22 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +28449 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30226 ___ Python tracker ___

[issue46148] Optimize pathlib

2021-12-22 Thread Kumar Aditya
New submission from Kumar Aditya : Issue for tracking improving performance of pathlib module. -- components: Library (Lib) messages: 409015 nosy: gvanrossum, kumaraditya303 priority: normal severity: normal status: open title: Optimize pathlib type: performance versions: Python 3.11