in reply to Re: Re: Re: Re: Forking processes / children / threads
in thread Forking processes / children / threads
That said, if all you're doing is counting lines that contain "flist", you might as well do a read() on the socket to get a larger buffer, then grep the buffer for the "flist". Matching in huge files demonstrates a fast technique for grepping through a file without having to pull it all into memory.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Forking processes / children / threads
by msergeant (Novice) on Nov 19, 2002 at 06:15 UTC |