DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31649>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31649

[Patch] Flowscript: Switch to re-implementation of official Rhino





------- Additional Comments From [EMAIL PROTECTED]  2004-10-21 20:10 -------
Reinhard Poetz  wrote:

> Hope it isn't a problematic change for Rhino, is it?

The affected code was modified after the last public release of Rhino so it does
not matter. Plus it should differ only for esoteric cases (read Cocoon ;) and if
the application relies on that, then it should be fixed.

> Anyway, works for me now and seems to scale very well. Excpect some speed
comparisons between Rhino16, Rhino at cocoondev, Javaflow and Apples next week.

I would expect very little if any difference since AFAICS Cocoon Rhino bindings
are rather heavy and most execution for any simple script happens there. 

I suspect that you may get a noticeable speedup if you remove
org.mozilla.javascript.optimizer.InvokerImpl.class from Rhino jars to disable so
called invoker optimization which replaces Java reflection by calling special
generated at runtime proxy classes. For Cocoon usage it can actually slow thinks
down. In Rhino 1.5R5 and later you can disable that through API, but removing
the class works everywhere.

Reply via email to