yarv-dev-en:137
From: SASADA Koichi <ko1 atdot.net>
Date: Thu, 13 Jul 2006 01:41:27 +0900
Subject: [yarv-dev-en:137] Re: ruby-yarv usage
Hi, Stephan Wehner wrote: > I just wanted to make sure I'm using ruby-yarv correctly. > I have a ruby script called add.rb > I call ruby-yarv add.rb > > Is that how to run a script in "compiled" form? It is not mentioned > anywhere as far as I can see. Also, I thought I saw somewhere options > mentioned > which seemed to indicate different optimization levels. I can't find > it anymore. Do they exist? YARV 0.4.1 includes script "rb/compile.rb". ruby rb/compile.rb [-o output script name] [script] If you eliminate output script name, "a.rb" file will be created. And rb/compile.rb is only experimental version. This compilation purpose is "obfuscation", not for performance. > At any rate, the new 0.4.1 version is twice as fast as the 0.4.0 > version for my simple script, if I'm using it correctly. That sounds > good. On 0.4.1, some optimize options are enabled by default, especially "specialized instruction". > PS It seems I'm subscribed to this list, but I didn't get a confirmation > email. On this ML system, no confirmation will be sent. Regards, -- // SASADA Koichi at atdot dot net -- ML: yarv-dev-en quickml.atdot.net Info: http://www.atdot.net/~ko1/quickml
136 2006-07-13 01:32 [stephanwehner gmail.] ruby-yarv usage -> 137 2006-07-13 01:41 ┗[ko1 atdot.net ] 138 2006-07-13 02:03 ┗[stephanwehner gmail.] 139 2006-07-13 02:10 ┗[ko1 atdot.net ] 141 2006-07-13 03:24 ┗[stephanwehner gmail.]