in reply to Match speed of R in array procesing
R is specifically optimized for this sort of thing. Perl is not. As choroba says, you'll probably be able to do it faster using hashes.
You might also want to look at PDL which is a Perl extension for working on large, N-dimensional numeric arrays. It takes a bit of getting used to, but is fast.
|
|---|