Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Cross-platform DBM equivalent?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-12-26 (18:23)
From: Stefano Zacchiroli <zack@c...>
Subject: Re: [Caml-list] Cross-platform DBM equivalent?
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?


Stefano Zacchiroli  -  Undergraduate Student of CS @ Uni. Bologna, Italy
 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 Archives:
Bug reports: FAQ:
Beginner's list: