48 ms·
new and delete are fast. What's slow are stuff like java GC Eden management where deletes are an afterthought to what is a time-stamped LRU reference managemen
by quickben 9y ago
new and delete are fast.
What's slow are stuff like java GC Eden management where deletes are an afterthought to what is a time-stamped LRU reference management server, and a lot more.
So, no. I don't think you can compare C++ with systems that run full fledged GCs and threat them in the same bullpark.