[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2021-04-06 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset efccff9ac84009ef48e8cb22548ce80940f76533 by Dong-hee Na in branch 
'master':
bpo-41870: Update What's News 3.10 about vectorcall (#25219)
https://github.com/python/cpython/commit/efccff9ac84009ef48e8cb22548ce80940f76533


--

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2021-04-06 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +23958
pull_request: https://github.com/python/cpython/pull/25219

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2021-04-06 Thread Dong-hee Na


Dong-hee Na  added the comment:

For the record, following built-in functions now support vectorcall calling 
convention from Python 3.10!!

Thank you to everyone who works with this :)

- map: bpo-43575
- filter: bpo-43287
- reversed: bpo-41922
- bool: bpo-41870 
- float: bpo-41873

--

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-30 Thread Dong-hee Na


Dong-hee Na  added the comment:

Now the suggestion is applied!
Thank you Pablo and Victor!!!

--
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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-30 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset fa7ce080175f65d678a7d5756c94f82887fc9803 by Dong-hee Na in branch 
'master':
bpo-41870: Avoid the test when nargs=0 (GH-22462)
https://github.com/python/cpython/commit/fa7ce080175f65d678a7d5756c94f82887fc9803


--

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-30 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +21488
pull_request: https://github.com/python/cpython/pull/22462

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-30 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests:  -21486

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-29 Thread Dong-hee Na


Change by Dong-hee Na :


--
pull_requests: +21486
pull_request: https://github.com/python/cpython/pull/22460

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-29 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

> You can put ok<0 test in the if (nargs) branch, to avoid the test when 
> nargs=0.
 
+1

--
nosy: +pablogsal

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-28 Thread STINNER Victor


STINNER Victor  added the comment:

You can put ok<0 test in the if (nargs) branch, to avoid the test when nargs=0.

--

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-28 Thread Dong-hee Na


Dong-hee Na  added the comment:

Now I close this issue.
Thank you, Mark!

--
nosy: +Mark.Shannon

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-28 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset a195bceff7b552c5f86dec7894ff24dcc87235da by Dong-hee Na in branch 
'master':
bpo-41870: Use PEP 590 vectorcall to speed up bool()  (GH-22427)
https://github.com/python/cpython/commit/a195bceff7b552c5f86dec7894ff24dcc87235da


--

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
components: +Interpreter Core

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-27 Thread Dong-hee Na


Change by Dong-hee Na :


--
keywords: +patch
pull_requests: +21461
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22427

___
Python tracker 

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



[issue41870] Use PEP 590 vectorcall to speed up calls to bool()

2020-09-27 Thread Dong-hee Na


New submission from Dong-hee Na :

bool type is well-used builtin types, I noticed that if we use vector call to 
bool type, it shows the awesome performance enhancement.

Mean +- std dev: [master] 91.4 us +- 3.3 us -> [vectorcall] 48.6 us +- 3.1 us: 
1.88x faster (-47%)

--
assignee: corona10
files: bench_bool.py
messages: 377565
nosy: corona10, vstinner
priority: normal
severity: normal
status: open
title: Use PEP 590 vectorcall to speed up calls to bool()
type: performance
versions: Python 3.10
Added file: https://bugs.python.org/file49475/bench_bool.py

___
Python tracker 

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