From: Henrik Horneber Date: 2004-12-02T08:35:57+09:00 Subject: Re: Rails with webrick slow as snails Lothar Scholz wrote: > Hello Carl, > > CY> Tobias Luetke wrote: > > >>>under windows it seems to be very important to use rubyw.exe and not >>>ruby.exe for performance. Maybe thats it ? >>> > > CY> Question: I've seen this mentioned a few times now. If this is the > CY> case, does the ruby installer for Windows associate .rb files with > CY> ruby.exe or rubyw.exe? It would seem silly to be saying it should be > CY> one way and then have all the default behaviors do it the other way. If > CY> there is no good use for ruby.exe, then we should simply rename > CY> rubyw.exe to ruby.exe. > > rubyw.exe is faster if you don't need standart output, because everything > is going to /dev/null. > > I believe that most programs are still command line programs that > write something useful to standart output. So ther current > associations are correct. > > I agree with Lothar. method_scope is just a simple test script that prints stuff to stdout. first with original ruby H:\ruby\Spielwiese>method_scope.rb bar A.moo instance moo now I renamed rubyw to ruby H:\ruby\Spielwiese>method_scope.rb H:\ruby\Spielwiese> I'd like to see the output. :) regards, Henrik