4 ms·
There's more to it than that. Having a garbage collector can be faster even, but would you take a faster program if it cost you memory footprint or predictabili
by kjeetgill 8y ago
There's more to it than that.
Having a garbage collector can be faster even, but would you take a faster program if it cost you memory footprint or predictability?
It just depends on what you're doing.
- PSeitz 8y agoThe performance comparisons between gc and non-gc languages show otherwise. Also, memory consumption eventually costs cpu cycles.
- kjeetgill 8y agoI'm not really disagreeing with you, performance comparisons between gc and non-gc languages DO tend show otherwise, but consider this: a common GC strategy in C++ is arena allocation. Faster allocations and deallocations but more memory overhead. It's still C++ but a little faster in the right situation.