homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ebfe
Recipients ajaksu2, ebfe, pitrou, rhettinger
Date 2009年03月22日.21:21:26
SpamBayes Score 0.010439489
Marked as misclassified No
Message-id <1237756894.21.0.943105856074.issue1501108@psf.upfronthosting.co.za>
In-reply-to
Content
This is true for all objects whose input could be concatenated.
For example with hashlib:
data = ['foobar']*100000
mdX = hashlib.sha1()
for d in data:
 mdX.update(d)
mdY = hashlib.sha1()
mdY.update("".join(data))
mdX.digest() == mdY.digest()
the second version is multiple times faster...
History
Date User Action Args
2009年03月22日 21:21:34ebfesetrecipients: + ebfe, rhettinger, pitrou, ajaksu2
2009年03月22日 21:21:34ebfesetmessageid: <1237756894.21.0.943105856074.issue1501108@psf.upfronthosting.co.za>
2009年03月22日 21:21:27ebfelinkissue1501108 messages
2009年03月22日 21:21:26ebfecreate

AltStyle によって変換されたページ (->オリジナル) /