in reply to Fastest way to turn coordinate list into array

Fastest way? Write it in C, and then use XS at the end to return a Perl datastructure to the program. You can speed up the rest of the program as well by not using Perl at all.

But you have to ask yourself, is it really worth your time and the increased maintainance burden to have the "fastest way"?

  • Comment on Re: Fastest way to turn coordinate list into array

Replies are listed 'Best First'.
Re^2: Fastest way to turn coordinate list into array
by brancusi (Novice) on Apr 09, 2010 at 22:27 UTC
    You can speed up the rest of the program as well by not using Perl at all.

    True, but given my environment is an optimised mod_perl back end with a reverse proxy front end, abandoning perl is not really the solution I was looking for ;-)