in reply to Anti-slurp weblog
There is also great merit in maintaining an index file. You can index, say, the date, title and filename, and the index file will probably remain small enough that you *can* slurp it. I mean, you're not going to run Slashdot with it but even if you post once a day for the next three years you're still looking at a few K. And you can do a few neat tricks like just reading off the top three records to save time.
For great speeedness, use fixed-length records. Space wastage sucks, but you then get the luxury of being able to arbitrarily jump around the file.
<lecture props='grep'>But if it's impossible, I meant what I said about an index file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Anti-slurp weblog
by newrisedesigns (Curate) on Jan 22, 2002 at 06:12 UTC |