[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-hash-table :size
From: |
Joost Kremers |
Subject: |
Re: make-hash-table :size |
Date: |
23 Aug 2004 21:00:40 GMT |
User-agent: |
slrn/0.9.8.0 (Linux) |
Stefan Monnier wrote:
>> 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.
ok, thanks for the info. i'll just put it in, then, and if i see some
terrible degradation in performance, i'll know what first to try...
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
- make-hash-table :size, Joost Kremers, 2004/08/23
- Re: make-hash-table :size, Stefan Monnier, 2004/08/23
- Re: make-hash-table :size,
Joost Kremers <=
- 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