Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2018-10-19 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (110 votes). Check out past polls.

    Notices?