2 ms·
Malloc in C/C++ is not particularly fast. Java for example does object instantiation much faster. It's also common to replace malloc with an in house implemen
by Shorel 11y ago
Malloc in C/C++ is not particularly fast.
Java for example does object instantiation much faster.
It's also common to replace malloc with an in house implementation for performance sensitive code.