Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Displaying/buffering huge text files

by Rudif (Hermit)
on Mar 28, 2005 at 19:39 UTC ( [id://442925]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $index .= pack 'd', tell FILE while <FILE>;
    
  2. or download this
    my @index = ( pack 'd', 0 );
    push @index, pack 'd', tell FILE while <FILE>;
    pop @index;
    my $index = join '', @index;
    
  3. or download this
    Indexing mine : time   1 s, size   19949431, lines  136126
    Indexing mine : time   2 s, size   40308893, lines  258457
    ...
    Indexing yours: time   6 s, size   40308893, lines  258458
    Indexing yours: time  31 s, size   95227350, lines  634393
    Indexing yours: time 809 s, size  527423877, lines 3441912
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-24 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found