Python calling Java

Paul Rubin phr-n2002a at nightsong.com
Mon Feb 18 20:40:14 EST 2002


danb_83 at yahoo.com (Dan Bishop) writes:
> > I have downloaded and tried out Jython, but it takes 5-6 seconds
> > just to run a one-line 'print "hi"' script, and this is, of
> > course, not acceptable for a web server.
> 
> Because you expect that running a ten-line script will take a minute?

Huh?  The 5-6 seconds is probably startup overhead so the ten-line
script would take the same 5-6 seconds, which is already unacceptable
for a web server.  Even 1 second is enough to make the server feel
unresponsive.



More information about the Python-list mailing list