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 TAA06143; Thu, 26 Dec 2002 19:23:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA06654 for ; Thu, 26 Dec 2002 19:23:28 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from smtp3.cp.tin.it (vsmtp3.tin.it [212.216.176.223]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBQINRH10297 for ; Thu, 26 Dec 2002 19:23:27 +0100 (MET) Received: from dalamar.takhisis.org (80.117.63.115) by smtp3.cp.tin.it (6.5.029) id 3DDD788200E0B01B for caml-list@inria.fr; Thu, 26 Dec 2002 19:23:26 +0100 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (Postfix) with ESMTP id 5EC71B9F2 for ; Thu, 26 Dec 2002 19:23:25 +0100 (CET) Received: by lordsoth.takhisis.org (Postfix, from userid 3148) id 10D3C706C; Thu, 26 Dec 2002 19:23:23 +0100 (CET) Date: Thu, 26 Dec 2002 19:23:23 +0100 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: Re: [Caml-list] Cross-platform DBM equivalent? Message-ID: <20021226182323.GA2399@lordsoth.takhisis.org> Mail-Followup-To: caml-list@inria.fr References: <20021226100537.GD1071@swordfish> <200212261650.RAA04279@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212261650.RAA04279@pauillac.inria.fr> User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Dec 26, 2002 at 05:50:26PM +0100, Pierre Weis wrote: > As far as I know the best (and simpler) way to do this for reasonable > number of URLs bindings (say thousands but not millions) is to create > a Hashtlbl.t or Map.t and dump it to file using output_value (then > read it back with input_value). In any case, I would start with this Whath about memory consumption? I know nothing about dbm internals but from my experience dbm doesn't keep all the data in memory while Hashtbl and Map do. Am I wrong? Cheers. -- Stefano Zacchiroli - Undergraduate Student of CS @ Uni. Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} - http://www.bononia.it/zack/ "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners