Re:Ruby has been fast enough for 13 years
by nateberkopec on Monday May 16, 2016 @02:42PM
(#11708544)
It's true in practice but not in theory.
Ruby can't defragment memory pages - if there is an active object in any heap page, it cannot be released back to the OS. Technically, Ruby does release empty pages back to the OS, but in practice, heap pages are rarely completely empty.
Ruby can't defragment memory pages - if there is an active object in any heap page, it cannot be released back to the OS. Technically, Ruby does release empty pages back to the OS, but in practice, heap pages are rarely completely empty.