From: Phil Pennock <comet@fysh.org>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Associative array ordering and selective unset (Re: Example function)
Date: Tue, 2 Feb 1999 20:07:36 +0000 [thread overview]
Message-ID: <19990202200736.B4792@fysh.org> (raw)
In-Reply-To: <990201090246.ZM31742@candle.brasslantern.com>; from "Bart Schaefer" on Mon 1 Feb 1999 (9:02 -0800)
Typing away merrily, Bart Schaefer produced the immortal words:
> On Feb 1, 11:48am, Sven Wischnowsky wrote:
> } I was thinking about this... we could make the code keep a counter in
> } assoc arrays, increment it whenever a new key is added and store the
> } current value in the structure for this new element. Then we can treat
> } the whole thing as being sorted by `time of addition'.
> }
> } Hm, does this sound like the right thing?
>
> Almost. Something about it doesn't seem quite right to me, but I can't
> put my finger on what different behavior I'd expect.
>
> I don't like the idea that every parameter table hash would end up with
> another integer of overhead in every entry, but maybe that's not so bad.
A pointer in each to embed a linked list?
--
--> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$
L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++
DI+ D+ G+ e+ h* r y?
next prev parent reply other threads:[~1999-02-02 20:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-01 10:48 Example function Sven Wischnowsky
1999-02-01 17:02 ` Associative array ordering and selective unset (Re: Example function) Bart Schaefer
1999-02-01 17:39 ` Bruce Stephens
1999-02-01 19:09 ` Bart Schaefer
1999-02-02 20:07 ` Phil Pennock [this message]
1999-02-02 7:52 Sven Wischnowsky
1999-02-02 8:01 Sven Wischnowsky
1999-02-02 16:58 Sven Wischnowsky
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=19990202200736.B4792@fysh.org \
--to=comet@fysh.org \
--cc=zsh-workers@sunsite.auc.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).