Laurent,
Hi Justin,On Dec 23, 2010, at 2:27 PM, Justin Schumacher wrote:Laurent,I made the switch to rbo files. The load time was 3.6 seconds with .rb files and 0.9 seconds with .rbo files. That's a good improvement and is acceptable for my project for the time being.Does the 0.9 seconds include the startup time of the whole runtime, such as the initial call to [MacRuby sharedRuntime]? If yes, it sounds acceptable for the time being.
I have a plan to boost the startup time of the runtime within a Cocoa environment, by making BridgeSupport files loading faster, and I hope to get this in in 0.9.I did notice that the Objective-C API method 'evaluateFileAtPath' cannot accept rbo files. To load the rbo files from Objective-C, I'm using the following pattern:[[MacRuby sharedRuntime] evaluateString:[NSString stringWithFormat:@"require '%@'", filename]];Probably no big performance hit there, but I'm wondering if it would make sense for evaluateFileAtPath to be able to accept rbo files as well as rb files.I think it would make sense, indeed. Could you file a ticket on our tracker?Thanks!Laurent
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel