[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pushing the `gnus-range-*' functions down into the C layer
From: |
Ted Zlatanov |
Subject: |
Re: Pushing the `gnus-range-*' functions down into the C layer |
Date: |
Thu, 09 Sep 2010 18:48:07 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Thu, 09 Sep 2010 23:21:30 +0100 Wojciech Meyer <address@hidden> wrote:
WM> Lars Magne Ingebrigtsen <address@hidden> writes:
>> Gnus addresses articles by their number, so you have things like the
>> "marked" list of articles that looks like
>>
>> (3 4 5 6 7 11 14 15 16 17 18)
WM> In my opinion your algorithm might need to change, but that's maybe I
WM> that I don't understand the problem domain correctly :). You don't
WM> really need to care about ranges or intervals. You load them into array
WM> of chars, each char index representing one article index and set to 0 or
WM> 1, if article was read. (ideally a bit array)
You mean a bool-vector, I think. Emacs has those built-in, see
(info "(elisp) Bool-Vectors")
but they are not good at representing sparse mutable lists, which Gnus
needs to represent article ranges.
Ted
- Re: Pushing the `gnus-range-*' functions down into the C layer, (continued)
- Re: Pushing the `gnus-range-*' functions down into the C layer, Lars Magne Ingebrigtsen, 2010/09/11
- Re: Pushing the `gnus-range-*' functions down into the C layer, Stephen J. Turnbull, 2010/09/11
- Re: Pushing the `gnus-range-*' functions down into the C layer, Lars Magne Ingebrigtsen, 2010/09/11
- Re: Pushing the `gnus-range-*' functions down into the C layer, Wojciech Meyer, 2010/09/11
- Re: Pushing the `gnus-range-*' functions down into the C layer, Stefan Monnier, 2010/09/12
- Re: Pushing the `gnus-range-*' functions down into the C layer, Tom Tromey, 2010/09/10
- Re: Pushing the `gnus-range-*' functions down into the C layer, Ted Zlatanov, 2010/09/14
- Re: Pushing the `gnus-range-*' functions down into the C layer, Stephen J. Turnbull, 2010/09/11
- Re: Pushing the `gnus-range-*' functions down into the C layer, Eli Zaretskii, 2010/09/13
Re: Pushing the `gnus-range-*' functions down into the C layer, Wojciech Meyer, 2010/09/09
- Re: Pushing the `gnus-range-*' functions down into the C layer,
Ted Zlatanov <=
Re: Pushing the `gnus-range-*' functions down into the C layer, Andy Wingo, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Stefan Monnier, 2010/09/10