From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: fastest data structure for a hash-like lookup
Date: 04 Jun 2003 16:58:00 -0400 [thread overview]
Message-ID: <5lwug1h86f.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: m3znkxpsl1.fsf@russel.teuto37
> I need a data structure that can be accessed via a key (the keys are
What do the keys look like ? Can you choose them freely ?
In elisp, it seems you could use a hash table of
lisp lists, vectors, or structures.
See `defstruct' in the CL manual for structure.
See `make-hash-table' in the elisp manual.
> values" each. The structure would be quite large and not be
> manipulated by the elisp program, but merely serve as a lookup table.
You mean it would be built once and for all and then stay constant.
> Sorry I wasn't able to find any useful documentation (the manual is as
> terse as ever).
Which manual, what did you look for in it, what did you expect to find
and what did you find instead ?
Stefan
next prev parent reply other threads:[~2003-06-04 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-04 19:10 fastest data structure for a hash-like lookup Florian von Savigny
2003-06-04 18:57 ` lawrence mitchell
2003-06-04 19:05 ` Kevin Rodgers
2003-06-04 20:58 ` Stefan Monnier [this message]
2003-06-04 23:45 ` Florian von Savigny
2003-06-04 23:09 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5lwug1h86f.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/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 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 read-only IMAP folder(s) and NNTP newsgroup(s).