Subject:
|
Article bit-flags (was: Re: News search function reactivated)
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Wed, 3 Jan 2001 03:57:06 GMT
|
Viewed:
|
1285 times
|
| |
| |
In lugnet.admin.general, Todd Lehman writes:
> [...]
> I've planned ahead here. For each group, there'll be a list of articles that
> comprise the heads-of-threads for those groups. That list can the be used to
> generate more compact views into the group, or it can also be fed into the
> query engine as an "include only these" filter. In memory, once loaded, the
> article filter lists are 1-bit flags -- 1 bit per article position -- so even
> a list of a quarter million articles consumes only 30 KB of memory for the
> fraction of a second that it's needed.
Oh, one other thing...planning ahead:
Another potential application of article bit-flags is read/unread lists on a
person-by-person basis via the web interface. I know this is something that
people have been asking for for a long time. When updating a flag, it would
be as simple as a single disk read/write to change a single bit. And when
mass-article filtering, it would simply load into memory as a memory-mapped
file and would be extremely efficient in terms of both space and speed. It
would even be easy to make customized message folders and move messages
between them, delete messages, mark unread, etc.
Would you like to be able to say, "search for 'blah blah blah' within my
'cool models' folder"?
--Todd
|
|
Message has 1 Reply:
Message is in Reply To:
45 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|