On Fri, 3 Oct 1997, Andrew Helm wrote:
-+You know better than to say that. calloc() initializes the
-+allocted memory to zero while malloc() doesn't garantee anything
-+about it's contents. That and the fact that calloc() is much
-+slower than malloc() makes for a significant difference
-+between the two. They are not interchangeable. Code that uses
-+calloc() (eg- circle) often calloc()'s the memory for structures
-+instead of malloc()'ing it and seperately initialing each field
-+of the structure.
Hence the word *essentially*...
--
Daniel Koepke -:- dkoepke@california.com -:- [Shadowlord/Nether]
Think.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST