[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-hash-table :size
From: |
Stefan Monnier |
Subject: |
Re: make-hash-table :size |
Date: |
Mon, 23 Aug 2004 20:45:21 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> 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?
It might do both. But as always, this is strongly dependent on what your
code does, so you'll have to measure it yourself.
The expectation is that specifying a (mostly correct) size should only make
things better. If it makes things worse, then it might be considered as
a bug.
Stefan
- make-hash-table :size, Joost Kremers, 2004/08/23
- Re: make-hash-table :size,
Stefan Monnier <=
- Re: make-hash-table :size, Kai Grossjohann, 2004/08/28
- Message not available
- Re: make-hash-table :size, Pascal Bourguignon, 2004/08/28
- 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