diff options
| author | Tim Peters <tim.peters@gmail.com> | 2002-08-12 05:09:36 (GMT) |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2002-08-12 05:09:36 (GMT) |
| commit | 877a2126786bd2a8e5086fbddb05a593c40cbc51 (patch) | |
| tree | 2e77f55720821225666dd16e268c7929a8161338 /Include/bufferobject.h | |
| parent | e343878eecf7d5a7d10703678883a5476bfec044 (diff) | |
| download | cpython-877a2126786bd2a8e5086fbddb05a593c40cbc51.zip cpython-877a2126786bd2a8e5086fbddb05a593c40cbc51.tar.gz cpython-877a2126786bd2a8e5086fbddb05a593c40cbc51.tar.bz2 | |
Introduced helper functions v_iadd and v_isub, for in-place digit-vector
addition and subtraction. Reworked the tail end of k_mul() to use them.
This saves oodles of one-shot longobject allocations (this is a triply-
recursive routine, so saving one allocation in the body saves 3**n
allocations at depth n; we actually save 2 allocations in the body).
Diffstat (limited to 'Include/bufferobject.h')
0 files changed, 0 insertions, 0 deletions
