4 ms·
Actually, ObjC objects are allocated with calloc() so it might be the most common one. It also has a better interface than malloc() because it can check for ov
by astrange 4y ago
Actually, ObjC objects are allocated with calloc() so it might be the most common one.
It also has a better interface than malloc() because it can check for overflow evaluating `size*count`, though it'd be even better if C had first-class types and you could pass that in.