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 vstinner
Recipients rhettinger, vstinner
Date 2014-07-22.07:42:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZf7hWL=2=ECs5RsOFhGY0aeSpte4zcHEVYQwjcBG1WzA@mail.gmail.com>
In-reply-to <1406014328.9.0.576652284701.issue22030@psf.upfronthosting.co.za>
Content
Be careful. In my tests, calloc() was slower than malloc() + memset() for
memory blocks smaller than 1 MB. Calloc() can be interesting if only a few
pages (4096 bytes) are modified.

You must provide benchmarks.
History
Date User Action Args
2014-07-22 07:42:58vstinnersetrecipients: + vstinner, rhettinger
2014-07-22 07:42:58vstinnerlinkissue22030 messages
2014-07-22 07:42:58vstinnercreate