From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: "Krishnaswami, Neel" <neelk@cswcasa.com>
Cc: "'caml-list@inria.fr'" <caml-list@inria.fr>
Subject: Re: [Caml-list] Are multiple return values optimized?
Date: Fri, 20 Jul 2001 17:37:40 +0200 [thread overview]
Message-ID: <20010720173740.E12623@pauillac.inria.fr> (raw)
In-Reply-To: <B1E4D3274D57D411BE8400D0B783FF322E8669@exchange1.cswv.com>; from neelk@cswcasa.com on Mon, Jul 16, 2001 at 04:33:38PM -0400
> Are multiple return values optimized to avoid heap-allocation
> like curried functions are?
No, a tuple of results is always heap-allocated. However, with
Caml's generational GC, the cost of allocating such short-lived tuples
is quite low.
- Xavier Leroy
-------------------
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
next prev parent reply other threads:[~2001-07-20 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-16 20:33 Krishnaswami, Neel
2001-07-20 15:37 ` Xavier Leroy [this message]
2001-07-19 0:07 Krishnaswami, Neel
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=20010720173740.E12623@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=neelk@cswcasa.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