caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: ls-ocaml-developer-2006@m-e-leypold.de
Cc: caml-list@inria.fr, Nicolas Cannasse <ncannasse@motion-twin.com>
Subject: Re: [Caml-list] Possible bug in DynArray module from ExtLib
Date: Wed, 04 Apr 2007 11:35:40 +1000	[thread overview]
Message-ID: <1175650540.24309.13.camel@rosella.wigram> (raw)
In-Reply-To: <p6vegdf5e8.fsf@hod.lan.m-e-leypold.de>

On Wed, 2007-04-04 at 00:40 +0200,
ls-ocaml-developer-2006@m-e-leypold.de wrote:

> > The exponential resizer probably exceeds Ocaml's array length limit,
> > while direct creation does not.
> 
> So a smarter resizer would be required: One which compares with the
> array length limit and satisfies the request with that if necessary
> and possible.

AFAIK DynArray has a resizer following my suggestion: you can
supply an arbitrary resizer function on construction, presumably with a
defaulted labelled argument (its the standard
library Buffer that doesn't have one).
I'm not sure, it's a while since I looked at ExtLib .. CC'd to
Nicolas who owns the library.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


      reply	other threads:[~2007-04-04  1:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31 18:15 Dário Abdulrehman
2007-03-31 20:34 ` Florian Weimer
2007-03-31 20:37   ` Dário Abdulrehman
2007-04-03 22:40   ` ls-ocaml-developer-2006
2007-04-04  1:35     ` skaller [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=1175650540.24309.13.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=ls-ocaml-developer-2006@m-e-leypold.de \
    --cc=ncannasse@motion-twin.com \
    /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;
as well as URLs for NNTP newsgroup(s).