Re: Perl vs. Java for string manipulation & regex

2007-06-26 Thread Jenda Krynicky
From: "Tom Phoenix" <[EMAIL PROTECTED]> > On 6/24/07, Jeni Zundel <[EMAIL PROTECTED]> wrote: > > My employer doesn't want to use it because it's in perl and he > > doesn't think that anyone else in the building knows perl. So, > > I decided to work on my java syntax (recently started doing a bit

Re: Perl vs. Java for string manipulation & regex

2007-06-24 Thread Tom Phoenix
On 6/24/07, Jeni Zundel <[EMAIL PROTECTED]> wrote: 1. Is the java significantly slower than the perl script because I suck at writing efficient java code or because perl is just really that much better at string manipulation? Yes. If it's important to determine how much of your slowdown is d

Perl vs. Java for string manipulation & regex

2007-06-24 Thread Jeni Zundel
So, recently, I wrote a nice little perl script to go through a moderately large file (about 400 Meg fixed record length file of rows that are 1870 characters wide). It runs quite fast; provides accurate results and I'm happy with it. My employer doesn't want to use it because it's in perl