On Mon, Jan 14, 2013 at 8:12 AM, Florian Gilcher <[email protected]> wrote: > > On Jan 14, 2013, at 1:43 AM, Na Na <[email protected]> wrote:
>> * Reduce the number of objects I use I would certainly try to find out why it's slow or GC has so much to do. What type of application are we talking about? Is it really the number of garbage to collect which makes things slow or maybe low memory leading to paging (something usually not well taken by programs with GC since the GC needs to look at a lot of memory during its work). > Don't forget option X: If you don't need extensions that are fundamentally > incompatible, have a look at running the whole thing on JRuby. It uses the > JVMs GC, which is much better and doesn't suffer from stop-the-world > issues as much. It is also very compatible with MRI. I thought that was option J. :-) Additional benefit: OP gets real threads without GIL. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- [email protected] | https://groups.google.com/d/forum/ruby-talk-google?hl=en
