Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcmontx
262 days ago
But don't you take a hit in performance by running the GC more often?
2 comments
stonemetal12
262 days ago
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.
link
NetMageSCW
262 days ago
Not necessarily if you have more (so smaller) heaps so each GC takes less time.
link