Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Calls to Java methods

by krisahoch (Deacon)
on Jun 03, 2005 at 16:51 UTC ( #463334=note: print w/replies, xml ) Need Help??

in reply to Calls to Java methods

Hi perl_devel

You may find that it takes a bit longe while to run the Perl with Inline::Java, than it takes to run the Java code with the JVM. The reason for this is because Inline::Java takes your code: creates an appropriatly name java source file, compiles it, imbedds it, runs it and makes whatever calls it needs to make.

This is slower because Inline::Java has a bridge that acts like a go-between for Perl and Java. So the Java code is running at normal speed, and the perl is running at normal speed. The hit comes in when the Perl code has to wait for the Java code:D

Kristofer Hoch

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://463334]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2023-09-25 22:49 GMT
Find Nodes?
    Voting Booth?

    No recent polls found