From: Joost Kremers <joostkremers@yahoo.com>
Subject: make-hash-table :size
Date: 23 Aug 2004 20:36:42 GMT [thread overview]
Message-ID: <slrncikld8.j0m.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
hi all,
i'm writing a program in emacs that makes rather extensive use of small
hash tables, about a dozen elemens or so. i'm going over my code again, to
see if i can improve things here and there, and i suddenly realise that
MAKE-HASH-TABLE takes a :size argument.
so i start wondering, will i gain anything by defining my hash tables with
(make-hash-table :size 15)? does it save memory, will it speed things up?
or is it really moot whether i specify a size of 15 or let emacs just use
the default size of 65? i've tried to find some discussion of this issue on
the net, but google didn't reveal much.
TIA
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next reply other threads:[~2004-08-23 20:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 20:36 Joost Kremers [this message]
2004-08-23 20:45 ` make-hash-table :size Stefan Monnier
2004-08-23 21:00 ` Joost Kremers
2004-08-28 14:07 ` Kai Grossjohann
[not found] ` <mailman.506.1093702372.1998.help-gnu-emacs@gnu.org>
2004-08-28 16:03 ` Pascal Bourguignon
2004-08-29 10:11 ` Oliver Scholz
2004-08-29 11:59 ` Pascal Bourguignon
2004-08-29 21:10 ` Oliver Scholz
2004-08-29 21:44 ` Oliver Scholz
2004-08-29 21:48 ` Oliver Scholz
2004-08-30 1:25 ` Pascal Bourguignon
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=slrncikld8.j0m.joostkremers@j.kremers4.news.arnhem.chello.nl \
--to=joostkremers@yahoo.com \
/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).