From: Sean Surname Date: 2007-11-11T07:37:41+09:00 Subject: Re: JRuby performance questions answered Roger Pack wrote: > I agree--it seems that the promptness would allow it to take advantage > of the cpu caches to still be fast. > The disadvantage, as some people above have pointed out, is that you may > lose compactness of the heap space. I'm not sure on this one. Given that a compacting collector needs several times as much RAM available as in use to be efficient, and that a reference-counting collector probably gives no more fragmentation than malloc, it's hard to say which way locality would go. The traditional objection to reference counting is that you spend a lot of time adjusting reference counts. But with CPUs are so much faster than RAM nowadays, that may matter less. Anyways, for more than you ever wanted to know about GC, here's a slightly-dated but still excellent survey paper: ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps -- Posted via http://www.ruby-forum.com/.