Author pitrou
Recipients anthon, dalke, pitrou
Date 2008-09-11.13:23:47
SpamBayes Score 2.81537e-05
Marked as misclassified No
Message-id <1221139488.88.0.348990528786.issue3531@psf.upfronthosting.co.za>
In-reply-to
Content
> My code regularily calculates the sha1 sum of 10.000 files and because
> in another reuse of the code had to deal with files too big to fit in
> memory I set a limit of 256Mb.

Why don't you use a sensible buffer size, e.g. 1MB? Reading data in
256MB chunks sounds foolish in any case.
History
Date User Action Args
2008-09-11 13:24:48pitrousetrecipients: + pitrou, anthon, dalke
2008-09-11 13:24:48pitrousetmessageid: <1221139488.88.0.348990528786.issue3531@psf.upfronthosting.co.za>
2008-09-11 13:23:48pitroulinkissue3531 messages
2008-09-11 13:23:47pitroucreate