From: Tonnerre <tonnerre@thundrix.ch>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: Matthias Urlichs <smurf@smurf.noris.de>, linux-kernel@vger.kernel.org
Subject: Re: single linked list header in kernel?
Date: Thu, 14 Oct 2004 02:19:34 +0200 [thread overview]
Message-ID: <20041014001934.GB19436@thundrix.ch> (raw)
In-Reply-To: <416D7A0E.50503@nortelnetworks.com>
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
Salut,
On Wed, Oct 13, 2004 at 12:55:10PM -0600, Chris Friesen wrote:
> I wonder how many places use the double-linked lists because they're there,
> not because they actually need them. If its significant, there could be
> some space savings due to only needing one pointer rather than two.
Actually, linked lists are mostly used in structure sets, which means
that one pointer more or less doesn't hurt too much, compared to an
O(N) overhead in certain edit actions on the list (prepending,
deleting, moving).
Seems that you can only write small *or* fast code. But that's no
news.
Tonnerre
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-14 0:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-12 18:15 single linked list header in kernel? Chris Friesen
2004-10-13 5:50 ` Matthias Urlichs
2004-10-13 14:57 ` Chris Friesen
2004-10-13 18:25 ` Matthias Urlichs
2004-10-13 18:55 ` Chris Friesen
2004-10-14 0:19 ` Tonnerre [this message]
2004-10-14 0:16 ` Tonnerre
2004-10-14 4:18 ` Kevin Puetz
2004-10-14 21:39 ` Antonio Vargas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041014001934.GB19436@thundrix.ch \
--to=tonnerre@thundrix.ch \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=smurf@smurf.noris.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.