Hi,

My Perl program calls a Java method using
Inline::Java. The Java method returns a 2-dimensional
array of Strings. Once I get the array reference in
Perl, I loop through the 20,000 items in the array. It
takes 40 seconds to execute this loop. If I use a
native Perl array, it takes less than a second.

Any idea why accessing Java arrays from Perl takes so
long?

Thanks,
Prathapan

Reply via email to