On Mon, Oct 09, 2017 at 12:27:50PM +0200, Martin Pieuchot wrote:
> On 09/10/17(Mon) 12:22, Joerg Sonnenberger wrote:
> > On Mon, Oct 09, 2017 at 12:15:46PM +0200, Martin Pieuchot wrote:
> > > Diff below is a small cleanup to keep the accounting of events in
> > > sync with the number of events on the list.  This is a noop for the
> > > moment, but it's small & easy part to review of my upcoming diff.
> > 
> > Well, not counting the markers allows skipping the scan when no real
> > content is on the list. That's a non-trivial condition if the list is
> > scanned by multiple threads and started non-empty.
> 
> I don't understand if you're suggesting something or not.  Did you spot
> something wrong in the diff I sent?

You are removing optimisation potential. Counting only real events is
more useful than counting the entries on the list.

Joerg

Reply via email to