diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-08-22 16:54:37 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-08-22 16:54:37 (GMT) |
commit | 2fd502f6a183fde7d8b4847d27e09884bf8006c7 (patch) | |
tree | f3b62140e4e4c7fab79474673610247642ae9da5 /Modules/_ssl_data.h | |
parent | ad54c6d82e9a4e3feb2a4a48a291dda99cf55507 (diff) | |
download | cpython-2fd502f6a183fde7d8b4847d27e09884bf8006c7.zip cpython-2fd502f6a183fde7d8b4847d27e09884bf8006c7.tar.gz cpython-2fd502f6a183fde7d8b4847d27e09884bf8006c7.tar.bz2 |
1) Use _mpd_basedivmod() regardless of the length of the dividend. This is
required for a corner case in dec_hash() in the following commit and also
usually faster. dec_hash() needs some extra precision above MPD_MAX_PREC,
and _mpd_base_ndivmod() is not audited for that.
2) Use _mpd_basemul() if the length of the smaller operand is less than
or equal to 256. While this is technically an optimization, it is
required for *testing* corner cases in dec_hash() in reasonable time.
Diffstat (limited to 'Modules/_ssl_data.h')
0 files changed, 0 insertions, 0 deletions