[VPM] spliting lines using unpack

abez abez at abez.ca
Tue Dec 26 23:28:23 PST 2006


I don't want to be mean or anything but if you're using perl you shouldn't
worry too much about performance.

abram

On Tue, 26 Dec 2006, Jer A wrote:

> I hear rumors that unpack is faster than split.
>
> suppose I have a very large string, (very very large) that contains "\r\n"'s 
> eg- lines
>
> what code do i need to split lines into an array using unpack.
>
>
>
> thanks in advance for your help.
>
> -Jer A.
>
> _________________________________________________________________
> Enter the "Telus Mobility Xbox a Day" contest for your chance to WIN!  Telus 
> Mobility is giving away an Microsoft Xbox® 360 every day from November 20 to 
> December 31, 2006! Just download Windows Live (MSN) Messenger to your 
> IM-capable TELUS mobile phone, and you could be a winner! 
> http://www.telusmobility.com/msnxbox/
>
>


More information about the Victoria-pm mailing list