[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Propsoal: a lua dialect without nil
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 16 Feb 2011 12:02:29 +0200
On Wed, Feb 16, 2011 at 11:55 AM, David Kastrup <firstname.lastname@example.org> wrote:
> I have problems envisioning an empty circular list.
It's possible if the head node does not contain data, and just exists
for bookkeeping purposes. This makes the logic easier as well, for a
small overhead cost.
BTW, LuaJIT's C types should give an efficient foundation for
implementing fast linked-lists in Lua.