Re: Java Array from Perl

2005-08-03 Thread Patrick LeBoutillier
t thing to try would probably be to run it under Devel::DProf. > That will at least narrow things down. > > -Ken > > > -Original Message- > > From: Prathapan Sethu [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 28, 2005 5:29 AM > > To: [email protected];

Re: Java Array from Perl

2005-07-28 Thread Nicholas Clark
On Thu, Jul 28, 2005 at 03:28:35AM -0700, Prathapan Sethu wrote: > 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 sec

RE: Java Array from Perl

2005-07-28 Thread Ken.Williams
ey > Subject: Java Array from Perl > > 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

Java Array from Perl

2005-07-28 Thread Prathapan Sethu
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 s