Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But don't you take a hit in performance by running the GC more often?


Maybe, maybe not. If GC is a O(n^2) then running it twice at n=5 is a much shorter run time than once at n=10.


Not necessarily if you have more (so smaller) heaps so each GC takes less time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: