on 7/12/2000 11:21 AM, "Steve Ruby" <[EMAIL PROTECTED]> wrote:
> making module.cache=true in TurbineResources takes the time
> for all handleRequests from about 2+ seconds to 1 or just under
> on average, so it makes a BIG difference but it isn't the whole problem,
> thanks..
Ok, is your screen doing a lot of static initializations or something?
module.cache is essentially making it so that the various modules are not
"newInstance()" created.
ie, this code isn't executed as a result:
Class foo = Class.forName("Screen");
Screen myScreen = (Screen) foo.newInstance();
instead myScreen is simply retrieved from a Hashtable. If it takes a long
time for newInstance() to execute, then that is probably the problem.
-jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]