in reply to Re: Count byte/character occurrence (1/4)
in thread Count byte/character occurrence (quickly)
while( read( I, my $buf, 16484 ) ) {
The choice of buffer size here is intriguing. I would have guessed that the ideal would be some exact multiple of the block size. What is the thinking behind the 100 byte excess?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Count byte/character occurrence (1/4)
by BrowserUk (Patriarch) on Apr 01, 2016 at 11:12 UTC | |
by hippo (Archbishop) on Apr 01, 2016 at 11:36 UTC |