pain

Mike Meyer mwm at mired.org
Fri Aug 5 22:02:15 EDT 2005


Kent Johnson <kent37 at tds.net> writes:
> Mike Meyer wrote:
>> The compiled jython will pay a performance penalty for being
>> dynamic. Where Java knows the type of objects, and can deduce the
>> correct method to call at compile time (well, some of the time,
>> anyway), the jython code will have to do a method search at run time.
>
> Yes, the compiled code makes heavy use of the Jython runtime to get anything done.
>
> *But* most of the hard work will probably be done by Java code in
> libraries you call. For example a Swing UI, XML parsing, database
> calls, etc all will happen in Java code.

One would hope so. That's how you get good performance out of CPython
apps - you arrange for the heavy lifting to be done by libraries
written in C.

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list