2 ms·
That's why I mean when I said that the saying is abused. Some people think that choosing the right algorithm is premature optimization. It is not. Choosing whe
by takeda 10y ago
That's why I mean when I said that the saying is abused. Some people think that choosing the right algorithm is premature optimization. It is not.
Choosing whether to use malloc vs calloc is not an architectural change though, and in fact it is very easy to replace one with the other, but if you use the right call for right use case, then you will benefit from optimizations that the OS provides, and often you might not even be able to achieve them from user space.