Re: [hackers] [scron] [PATCH 1/3] Just use simple linked list instead of queue.h

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Wed, 12 Jul 2017 11:01:09 +0100

On Tue, Jul 11, 2017 at 10:49:53AM -0700, Michael Forney wrote:
> On 7/11/17, Laslo Hunhold <dev_AT_frign.de> wrote:
> > On Mon, 10 Jul 2017 21:55:40 -0700
> > Michael Forney <mforney_AT_mforney.org> wrote:
> >
> > Hey Michael,
> >
> > what's wrong with queue.h?
>
> The simple linked list I proposed uses the same amount of code, and is
> easier to understand because it isn't hidden behind a bunch of macros.
>
> What's the advantage of queue.h over what I proposed?

the implementation is uninteresting either way i think. the advantage
is that you can easily switch your code to use a different type of list
if required. also many people are already familiar with these macros.
Received on Wed Jul 12 2017 - 12:01:09 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 12 2017 - 12:13:22 CEST