mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Issue #25523: Further a-to-an corrections new in 3.5
This commit is contained in:
parent
2eb819f7a8
commit
d2ad5718ad
8 changed files with 10 additions and 10 deletions
|
@ -629,7 +629,7 @@ volume rotations should take care not to penalize the common case.
|
|||
|
||||
Conceptually, a rotate by one is equivalent to a pop on one side and an
|
||||
append on the other. However, a pop/append pair is unnecessarily slow
|
||||
because it requires a incref/decref pair for an object located randomly
|
||||
because it requires an incref/decref pair for an object located randomly
|
||||
in memory. It is better to just move the object pointer from one block
|
||||
to the next without changing the reference count.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue