On Mon, 23 Aug 1999, Scott Redman wrote:

I do not think so. Thomas reported that Jacl scripts were
getting 3-4 times slower with the 1.2 tree. A little debug
info could not cause a slowdown like that. Besides, the
-O flag to javac does not really do much to make Java
programs faster (aside from removing debug info). I have
not been able to reproduce this, so I am not really sure
there is a problem. If someone can show me a script that
runs slower with the 1.2 version of Jacl, I will take
a look at it again.

later
mo

> Mo, when I was looking at the Makefile.in and configure.in, 
> I noticed that the Java compiler flags are hard-coded to "-g"
> for Unix (on Windows, it switches between -g and -O).
> 
> Could this be part of the problem?
> 
> -- Scott
> 
> Moses DeJong wrote:
> > 
> > On Fri, 20 Aug 1999, Thomas McKay wrote:
> > 
> > You should be able to get the 1.1.1 version of Jacl by downloading the
> > cvs tree and running this command "cvs checkout -r rel-1_1_1 tcljava".
> > 
> > > I just ran a test of Jacl 1.1a1, 1.2.3, and 1.2.4 and they all had
> > > nearly identical results (+/- 0.1 seconds).  (I'll be happy to test 1.1
> > > if I can get a pre-built version.)
> > 
> > The only change I can think of that might make this slower was made in
> > the 1.2.1 and then fixed in 1.2.4. If you see no speed diff in 1.2.1
> > and 1.2.4 that I have no idea what it could be. Keep in mind that
> > I am only talking about using ReflectObject methods here. Most Tcl
> > code will be slower in 1.2.4 because of the extra lookups needed to
> > implement namespaces.
> > 
> > later
> > mo
> > 
> > > My only guess is that a change I made between now and the last time I
> > > tested against 1.1 (which was the version I saw the speed  hit in).  One
> > > thing that I was doing was calling ReflectObject.newInstance() followed
> > > by preserve() for many objects.  Perhaps it's here that things were
> > > slower?
> > >
> > > Tom

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to