Require from jar is slow in ScriptingContainer

The following program needs about 1.5 if I require the gem from the
file sysem and 6 seconds if the gem is packaged into a jar file.

require “java”

puts Time.new
require “input_form”
puts Time.new

The execution environment is the ScriptingContainer. I dont see such
difference when executed from the JRuby command line.

Any ideas how to improve this ?

Regards
Roger


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs