3 ms·
> it can actually be slower to do manual memory management > we can sacrifice some of the resources Which one is it?
by capitalsigma 11y ago
> it can actually be slower to do manual memory management
> we can sacrifice some of the resources
Which one is it?
- thecombjelly 11y agoMany times it is less resource intensive to do manual memory management, it just depends. The sacrifice in performance comes more from runtime features like type checking.
- majewsky 11y agoThe only case that I know of when manual memory management is slower is short-running programs which exit before the first GC run, therefore removing the need to do any deallocation at all.