Message223640
| 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. |
|