caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David McClain" <dmcclain1@mindspring.com>
To: "caml" <caml-list@inria.fr>
Subject: [Caml-list] Wish List for Large Mutable Objects
Date: Sat, 31 Jul 2004 11:29:28 -0700	[thread overview]
Message-ID: <003301c4772c$5435b9d0$0201a8c0@dylan> (raw)

Something I would like to see appear in the OCaml libraries, and I don't
have it yet myself, is the use of Copy-on-Write and Scatter-Gather applied
to large mutable objects such as BigArrays. When a request to copy the
object arrives, it is immediately satisfied in mere nanoseconds, delaying
the actual copying operation until (if ever) some code attempts to mutate
one of the cells. Actual copying would frequently be a huge undertaking and
costing a great deal in runtime performance.

The Scatter-Gather would be useful in managing arrays where only a small
part of the array has actually been mutated. Perhaps some kind of frame
paging applied to the array proper. That way the COW only has to replicate
small portions of the array for the user who requested a copy.

David McClain
Senior Corporate Scientist
Avisere, Inc.

+1.520.390.7738 (USA)
david.mcclain@avisere.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


             reply	other threads:[~2004-07-31 18:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-31 18:29 David McClain [this message]
2004-08-01  3:36 ` Brandon J. Van Every
2004-08-02  5:28   ` Brandon J. Van Every
2004-08-01  4:06 ` Brandon J. Van Every
2004-08-02  2:38   ` David McClain
2004-08-02  3:20     ` Brandon J. Van Every
2004-08-02  3:32       ` David McClain
2004-08-02  5:14         ` Brandon J. Van Every
2004-08-02  8:00           ` Ville-Pertti Keinonen
2004-08-02  9:12             ` David McClain
2004-08-04  7:24     ` Alex 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='003301c4772c$5435b9d0$0201a8c0@dylan' \
    --to=dmcclain1@mindspring.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;
as well as URLs for NNTP newsgroup(s).