Kent Johnson <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to