From: "Ohad Rodeh" <ORODEH@il.ibm.com>
To: caml-list@inria.fr
Subject: [Caml-list] Small request
Date: Mon, 15 Oct 2001 18:50:13 +0300 [thread overview]
Message-ID: <OF84029B7F.2EF81B54-ONC2256AE6.0052EB33@telaviv.ibm.com> (raw)
While I'm at it, there is one more function that could help me:
val Marshal.length : 'a -> extern_flags list -> int
This hypothetical function returns the length that an object will be
marshaled to.
This allows pre-allocating a C buffer of the correct size, and then
marshaling an
ML object directy into it. This prevents memory fragmentation on the
C-size.
Ohad.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
reply other threads:[~2001-10-15 15:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=OF84029B7F.2EF81B54-ONC2256AE6.0052EB33@telaviv.ibm.com \
--to=orodeh@il.ibm.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