Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Displaying/buffering huge text files

by BrowserUk (Pope)
on Dec 23, 2011 at 01:37 UTC ( #944883=note: print w/replies, xml ) Need Help??

in reply to Re^2: Displaying/buffering huge text files
in thread Displaying/buffering huge text files

I was trying to modify in order to get secuencial access, not random.

Sorry, but that makes no sense at all. You have to read the entire file sequentially once in order to build an index.

If you want to process the file sequentially, just read it sequentially. There is nothing to be gained by using an index unless you need random access.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^3: Displaying/buffering huge text files

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://944883]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-01-25 22:15 GMT
Find Nodes?
    Voting Booth?