Subj : Re: [Rhino] what is better for includes? To : netscape.public.mozilla.jseng From : Mike C. Date : Tue May 18 2004 07:22 pm "Igor Bukanov" wrote > But if 64K is not a problem the .class file generated for the monolithic > script is faster to load since JVM does not need to lookup duplicated > strings and various constants are shared. In addition if your scripts > contain cross calls then with the optimization level set to 1 or higher > Rhino will generate faster code for these calls. > Yes the cross calls optimizations are the most exciting ones, and it seems worth the trouble. I'm thinking to implement it both ways, and if the monolithic compile fails, revert to the file by file method. Mike .