From: Danny A. <dan...@bt...> - 2001-06-20 10:20:35
|
I've not entirely got my head around how Jython operates - does it do all the interpretation (building the Java structures) first, before actually doing any of the job? This could case big delays in the initialization of an applet. --- Danny Ayers http://www.isacat.net >-----Original Message----- >From: jyt...@li... >[mailto:jyt...@li...]On Behalf Of Dave Crane >Sent: 20 June 2001 09:49 >To: jyt...@li... >Subject: [Jython-users] Re: Jython Applets > > >Hi Ron, > >Off the top of my head, Jython uses a lot of reflection. >Reflection API methods are native, so perhaps the performance lag >is due to the netscape implementation of reflection not being as >hot as those in IE? > >Just a hypothesis, but presumably writing a little benchmark >applet that reflects a lot without using Jython could tell you if >this is the case? > >If it is, I guess its bad news, because there ain't much you can >do to fix it, but it might be worth knowing? > >Regards, > >Dave > >> The problem is the load time. IE does it in 2-3 seconds, which is >> acceptable. Netscape 4.75 takes about 35 seconds, which is not >> acceptable. Lest you jump on Netscape because of its old (1.15) >> browser, the equivalent Java applet takes only about 5 seconds to load >> in Netscape. Is Netscape is wasting all that time looking for >> java.util.HashMap? Is there a workaround? >> > >------------------------------------------------------ >-- Dave Crane ------------------ ul...@bi... -- >-- home tel 0117 968 3506 ---------------------------- >------------------------------------------------------ > >Find the best deals on the web at AltaVista Shopping! >http://www.shopping.altavista.com > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >http://lists.sourceforge.net/lists/listinfo/jython-users |