From: Christoph Bauer <christoph.bauer@lmsintl.com>
To: "rixed@happyleptic.org" <rixed@happyleptic.org>,
"caml-list@inria.fr" <caml-list@inria.fr>
Subject: RE: [Caml-list] Stdlib's hashtbl never sized down?
Date: Tue, 24 Apr 2012 10:20:01 +0200 [thread overview]
Message-ID: <9A8556989A396A408C72088C69EDE563089E0D7F65@KAIP-EXMSG01.lmsintl.com> (raw)
In-Reply-To: <20120424065257.GA25891@yeeloong.happyleptic.org>
There is a mantis issue for that: http://caml.inria.fr/mantis/view.php?id=5555
-----Original Message-----
From: rixed@happyleptic.org [mailto:rixed@happyleptic.org]
Sent: Tuesday, April 24, 2012 8:53 AM
To: caml-list@inria.fr
Subject: [Caml-list] Stdlib's hashtbl never sized down?
I just discovered that stdlib's hash table size is doubled when the average list length reach some threshold, but are never sized down. So if one uses a long lived hashtable which number of elements vary with time the underlying array will only grow. I suppose it's on purpose but need help to find a reason for this.
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
prev parent reply other threads:[~2012-04-24 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-24 6:52 rixed
2012-04-24 8:20 ` Christoph Bauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9A8556989A396A408C72088C69EDE563089E0D7F65@KAIP-EXMSG01.lmsintl.com \
--to=christoph.bauer@lmsintl.com \
--cc=caml-list@inria.fr \
--cc=rixed@happyleptic.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox