New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

The proposed PR converts Objects/memoryobject.c to Argument Clinic.

Advantages:

* Highly optimized code is used to parse arguments instead of slow 
PyArg_ParseTupleAndKeywords().
* All future improvements of argument parsing (better performance or errors 
handling) will be automatically applied to memoryobject.

Previously Argument Clinic was used for memoryview.hex().

----------
components: Extension Modules
messages: 373425
nosy: serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: Convert memoryview to Argument Clinic
type: performance
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41262>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to