9fans archive / 2006 / 09 / 344    prev next

search terms are split using tokenize from:regexp searches From: lines subject:regexp searches Subject: lines before:yyyy[/mm[/dd]] and after:yyyy[/mm[/dd]] specify date range powered by grep(1)
From: Francisco J Ballesteros <nemo@lsu...> Subject: Why are some apps so slow? Date: Sat, 23 Sep 2006 17:00:50 +0200 I mean, many times a program reads a small file once. You have to open it, and once it has been read, you do not want to read it again. Leaving it open would not help. On 9/23/06, Russ Cox <rsc@swt...> wrote: > > But in many cases the files read are small, and keeping the > > fd open would not help. Just curiosity, anyway. > > Why wouldn't keeping the fd open help? > It would get rid of the walk, open, and close, > 3 of the 4 messages you were trying to get down to 1. > > Rsus > >