From: james woodyatt <jhw@wetware.com>
To: Alessandro Baretta <alex@baretta.com>
Cc: The Trade <caml-list@inria.fr>
Subject: Re: [Caml-list] Map module
Date: Thu, 5 Jun 2003 08:58:33 -0700 [thread overview]
Message-ID: <8F40A2A0-976E-11D7-9D42-000393BA7EBA@wetware.com> (raw)
In-Reply-To: <3EDF64F9.5020905@baretta.com>
On Thursday, Jun 5, 2003, at 08:42 US/Pacific, Alessandro Baretta wrote:
>
> How well is the Map module supposed to scale into the tens of
> thousands of entries? I'm getting a stack overflow when trying to
> insert some 80k key-value pairs in a Map. My function is tail
> recursive, so I should not be responsibile for this.
The Map.add function is not tail recursive. It consumes stack at O(log
N). Many of the other functions are not tail recursive either.
--
j h woodyatt <jhw@wetware.com>
-------------------
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
next prev parent reply other threads:[~2003-06-05 15:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 15:42 Alessandro Baretta
2003-06-05 15:53 ` Dominique Quatravaux
2003-06-05 15:58 ` james woodyatt [this message]
2003-06-05 16:25 ` Brian Hurt
2003-06-05 18:02 ` Alessandro Baretta
2003-06-05 18:13 ` jeanfrancois.monin
2003-06-05 18:15 ` Fred Smith
2003-06-05 18:24 ` Alessandro Baretta
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=8F40A2A0-976E-11D7-9D42-000393BA7EBA@wetware.com \
--to=jhw@wetware.com \
--cc=alex@baretta.com \
--cc=caml-list@inria.fr \
/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