2 ms·
Since malloc() is a standard C library function, it would be okay to not count its implementation (which isn’t necessarily written in C).
by layer8 3y ago
Since malloc() is a standard C library function, it would be okay to not count its implementation (which isn’t necessarily written in C).
- whizzter 3y agoIf only counting simple lines of code, malloc is often large enough of a beast that the code executed beyond that simple line often dwarfs the rest.