From: Nit Khair Date: 2008-11-07T13:55:34+09:00 Subject: Re: Poor performance of Ruby 1.8.7 when installed with MacPorts nakatani katsumi wrote: > Hi > > On Sat, 1 Nov 2008 19:58:54 +0900 > abc wrote: > >> I've just upgraded to Ruby 1.8.7 using MacPorts (ruby @1.8.7- >> p72_1+thread_hooks) and while it runs flawlessly, the performance is >> really really poor. Could someone explain this to to me. I checked the macports page a few days back and it said it disables/deletes -enable-pthreads due to some bug. So does that not mean that it's not there. As pointed above, it uses thread_hooks instead. 1. Is there any commandline option or other way of my ascertaining whether my install uses pthreads or not. Another newb question: 2. One of the prev posts suggests altering config.h and running ./configure. However, if one is using sudo port install how does one do this? I do not have a "configure" in my ruby folder and my config.h (/opt/local/var/macports/software/ruby/1.8.7-p22_3+darwin_9_powerpc+thread_hooks/opt/local/lib/ruby/1.8/powerpc-darwin9.4.0/config.h) does not contain GETCONTEXT. Thanks. -- Posted via http://www.ruby-forum.com/.