]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Speed HMAC.copy() by installing a secret backdoor argument to
authorTim Peters <tim.peters@gmail.com>
Sat, 20 Mar 2004 20:11:29 +0000 (20:11 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 20 Mar 2004 20:11:29 +0000 (20:11 +0000)
commit934d31b1d340f1d309d6ec6a861fa94077033b0f
tree71b1c73badd16ae2d00737200f8fd8cae38f8733
parent1515fc2a013b01819df823a155c6c19e35b9f71a
Speed HMAC.copy() by installing a secret backdoor argument to
HMAC.__init__().  Adapted from SF patch 895445 "hmac.HMAC.copy() speedup"
by Trevor Perrin, who reported that this approach increased throughput
of his hmac-intensive app by 30%.
Lib/hmac.py