From: John Prevost <jmp@arsdigita.com>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: Dave Berry <dave@kal.com>, Norman Ramsey <nr@eecs.harvard.edu>,
caml-list@inria.fr
Subject: Re: questions about costs of nativeint vs int
Date: 14 Jan 2001 18:09:27 -0800 [thread overview]
Message-ID: <873del5zzi.fsf@elbereth.pgh.arsdigita.com> (raw)
In-Reply-To: <20010114121329.A562@pauillac.inria.fr>
>>>>> "xl" == Xavier Leroy <Xavier.Leroy@inria.fr> writes:
xl> Ocaml performs some amount of local (intra-function) unboxing
xl> on large integers (nativeint, int32, int64) as well as on
xl> floats. Version 3.00 missed some opportunities for local
xl> unboxing of large integers, but the next release will improve
xl> this, bringing integer unboxing to the level of float
xl> unboxing. However, large integers as well as floats remain
xl> boxed across functions and inside data structures (with a few
xl> special cases for arrays and big arrays).
You say that this doesn't happen across function-call boundaries. Am
I right in assuming that function-call boundaries that are smoothed
away by inlining are an exception to this?
What about tail-recursion boundaries?
John.
next prev parent reply other threads:[~2001-01-15 9:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-12 12:39 Dave Berry
2001-01-14 11:13 ` Xavier Leroy
2001-01-15 2:09 ` John Prevost [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-17 13:47 Dave Berry
2001-01-12 19:53 Brent Fulgham
2001-01-10 18:25 Norman Ramsey
2001-01-11 18:34 ` Xavier Leroy
2001-01-11 22:17 ` Norman Ramsey
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=873del5zzi.fsf@elbereth.pgh.arsdigita.com \
--to=jmp@arsdigita.com \
--cc=Xavier.Leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=dave@kal.com \
--cc=nr@eecs.harvard.edu \
/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