[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-hash-table :size
From: |
Pascal Bourguignon |
Subject: |
Re: make-hash-table :size |
Date: |
28 Aug 2004 18:03:41 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Kai Grossjohann <kai@emptydomain.de> writes:
> Joost Kremers <joostkremers@yahoo.com> writes:
>
> > 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.
>
> I wonder if hash tables are really faster than alists in this case.
> Have you tried both?
Well, it seems that yes, non-empty emacs hash tables are faster than
alists...
--
__Pascal Bourguignon__ http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.
- make-hash-table :size, Joost Kremers, 2004/08/23
- Re: make-hash-table :size, Stefan Monnier, 2004/08/23
- Re: make-hash-table :size, Kai Grossjohann, 2004/08/28
- Message not available
- Re: make-hash-table :size,
Pascal Bourguignon <=
- Re: make-hash-table :size, Oliver Scholz, 2004/08/29
- Re: make-hash-table :size, Pascal Bourguignon, 2004/08/29
- Re: make-hash-table :size, Oliver Scholz, 2004/08/29
- Re: make-hash-table :size, Oliver Scholz, 2004/08/29
- Re: make-hash-table :size, Oliver Scholz, 2004/08/29
- Re: make-hash-table :size, Pascal Bourguignon, 2004/08/29