Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Edit huge file

by BrowserUk (Pope)
on Jun 19, 2013 at 01:14 UTC ( #1039702=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Edit huge file
in thread Edit huge file

Hm. Say 1000 lines/100kB.

Its actually not too bad for files ~10x that iff you know

  1. how it works:

    An LRU cache of limited size:

  2. what not to do:

    Don't use @theArray in either a list or scalar context;

  3. configure it correctly:

    The memory and dw_size options can interact in interesting but unintuitive ways.

    Bigger is not always better, especially if the predominant operations are deletion or insertion of whole lines, rather than in-place modification of existing lines.


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.


Comment on Re^4: Edit huge file
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-08-31 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls