4 ms·
That’s not the GC’s fault. If you wrote C++ code that malloced a vector object every time you wanted to create a new vector, it would be even worse. That’s Jav
by pizlonator 10mo ago
That’s not the GC’s fault. If you wrote C++ code that malloced a vector object every time you wanted to create a new vector, it would be even worse.
That’s Java’s fault for not having value types (though that’s changing soon maybe).