Skip to content

Commit 6495604

Browse files
Update development-tools/clinic/howto.rst
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent ab014a1 commit 6495604

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎development-tools/clinic/howto.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,9 @@ Just name them ``__new__`` or ``__init__`` as appropriate. Notes:
877877

878878
* :ref:`vectorcall protocol <python:vectorcall>` support can be added using the
879879
``@vectorcall`` directive. This will output an additional function that can be
880-
used in the :c:member:`~PyTypeObject.tp_vectorcall` slot. Vectorcall adds
881-
moderate code, be sure to microbenchmark and validate it saves significant
882-
runtime.
880+
used in the :c:member:`~PyTypeObject.tp_vectorcall` slot.
881+
The generated function adds a fair amount of code, so benchmark first
882+
and only use it where it gives a significant speedup.
883883

884884
Current restrictions:
885885

0 commit comments

Comments
 (0)