From: "Jeremy Fincher" <tweedgeezer@hotmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] New to OCaml: can someone explain how this code can be done better?
Date: Sun, 24 Jun 2001 01:49:33 -0400 [thread overview]
Message-ID: <F227sBk31TZ14eBa1kg0000e945@hotmail.com> (raw)
>The function permute_rec is an implementation detail.
>So you scope it _inside_ the permute function
I was worried this would incur a slow down (in Python, nested function
objects are instantiated when a function is called and destroyed when it
exits; the code object isn't destroyed, but there still is the additional
overhead of creating a function object from it.) I assume now, since it's a
feature so widely used (I see it anytime I look at others' OCaml code) that
it doesn't. Thanks for pointing that out.
Jeremy
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
-------------------
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 reply other threads:[~2001-06-24 5:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-24 5:49 Jeremy Fincher [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-24 6:03 Jeremy Fincher
2001-06-23 5:27 Jeremy Fincher
2001-06-23 19:39 ` Eric C. Cooper
2001-06-25 18:40 ` Stefano Zacchiroli
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=F227sBk31TZ14eBa1kg0000e945@hotmail.com \
--to=tweedgeezer@hotmail.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