Browse thread
[Caml-list] Hashtbl and max_len
-
Marcin 'Qrczak' Kowalczyk
-
Marcin 'Qrczak' Kowalczyk
- Marcin 'Qrczak' Kowalczyk
- Xavier Leroy
-
Marcin 'Qrczak' Kowalczyk
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Marcin 'Qrczak' Kowalczyk <qrczak@k...> |
| Subject: | [Caml-list] Re: Hashtbl and max_len |
Sun, 18 Nov 2001 17:01:00 +0000 (UTC), Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl> pisze:
> Ah, I see that the version in cvs has changed the policy of resizing
> and it indeed works better when a good initial size is not known.
> It has a bug though:
Which suggests that the functorial interface is rarely used. Maybe the
OCaml compiler should use it instead of generic Hashtbl when the key
is something like int? It would catch bugs like this by bootstrapping,
even if performance is good enough without it.
--
__("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
\__/
^^
QRCZAK
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr