in reply to Re: Re: Re: Fast way to read from file
in thread Fast way to read from file

Except it's almost certainly going to be slower. Why? Because perl is optimized for fast I/O access. It has all sorts of smarts to let you access your data as fast as possible. I wouldn't be surprised if b10m's simple line-reading approach is the quickest naive approach since it takes full advantage of perl's I/O capabilities.
HTH

_________
broquaint

  • Comment on Re: Re: Re: Re: Fast way to read from file