mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
Fix typos in the Objects directory (GH-28766)
This commit is contained in:
parent
db72e58ea5
commit
5f401f1040
11 changed files with 14 additions and 14 deletions
|
|
@ -382,7 +382,7 @@ things we don't have:
|
|||
extension on most platforms, but not all, and there's no uniform spelling
|
||||
on the platforms that support it.
|
||||
|
||||
- Integer divison on an integer type twice as wide as needed to hold the
|
||||
- Integer division on an integer type twice as wide as needed to hold the
|
||||
list length. But the latter is Py_ssize_t for us, and is typically the
|
||||
widest native signed integer type the platform supports.
|
||||
|
||||
|
|
@ -797,6 +797,6 @@ OPTIMIZATION OF INDIVIDUAL COMPARISONS
|
|||
As noted above, even the simplest Python comparison triggers a large pile of
|
||||
C-level pointer dereferences, conditionals, and function calls. This can be
|
||||
partially mitigated by pre-scanning the data to determine whether the data is
|
||||
homogenous with respect to type. If so, it is sometimes possible to
|
||||
homogeneous with respect to type. If so, it is sometimes possible to
|
||||
substitute faster type-specific comparisons for the slower, generic
|
||||
PyObject_RichCompareBool.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue