Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Displaying/buffering huge text files

by Rudif (Hermit)
on Mar 28, 2005 at 19:39 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2020-09-26 05:59 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (141 votes). Check out past polls.