From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA20986; Sun, 18 Nov 2001 18:19:05 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA21332 for ; Sun, 18 Nov 2001 18:19:04 +0100 (MET) Received: from mail.mimuw.edu.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fAIHIt901894 for ; Sun, 18 Nov 2001 18:18:57 +0100 (MET) Received: (from news@localhost) by mail.mimuw.edu.pl (PLD/8.9.3) id SAA02534 for caml-list@inria.fr; Sun, 18 Nov 2001 18:19:47 +0100 X-Authentication-Warning: qrnik.zagroda: news set sender to Marcin 'Qrczak' Kowalczyk using -f From: "Marcin 'Qrczak' Kowalczyk" Subject: [Caml-list] Re: Hashtbl and max_len Date: Sun, 18 Nov 2001 17:19:43 +0000 (UTC) Organization: Klub Nieszkodliwych =?iso-8859-2?Q?Manjak=F3w?= Message-ID: References: X-Trace: qrnik.zagroda 1006103983 1745 192.168.0.1 (18 Nov 2001 17:19:43 GMT) X-Complaints-To: abuse@localhost NNTP-Posting-Date: Sun, 18 Nov 2001 17:19:43 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) To: caml-list@inria.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sun, 18 Nov 2001 17:01:00 +0000 (UTC), Marcin 'Qrczak' Kowalczyk 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