From: Chris Hecker <checker@d6.com>
To: "Krishnaswami, Neel" <neelk@cswcasa.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Dequeues (was Generation of streams is slow)
Date: Fri, 20 Jul 2001 11:49:36 -0700 [thread overview]
Message-ID: <4.3.2.7.2.20010720114757.027ffe80@shell16.ba.best.com> (raw)
In-Reply-To: <B1E4D3274D57D411BE8400D0B783FF322E8672@exchange1.cswv.com>
>The usual argument for them is that there's a strong temptation
>to avoid proper data abstraction in ML because pattern-matching
>is so convenient, and the usual argument against them is that
>they make estimating the performance costs of pattern-matching
>impossible, since a match could be an arbitrarily expensive
>function call.
I've seen this "argument against" a number of times before on this list (like when people wanted constants in patterns), and I don't understand it. What's the rationale for trying to protect the programmer from making slow code at the expense of useful and expressive features?
Chris
-------------------
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 18:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-20 13:21 Krishnaswami, Neel
2001-07-20 18:49 ` Chris Hecker [this message]
2001-07-20 19:08 ` [Caml-list] Views Chris Hecker
2001-07-21 4:50 ` [Caml-list] Dequeues (was Generation of streams is slow) Brian Rogoff
2001-07-21 5:03 ` [Caml-list] indent 2 Alexander V. Voinov
2001-07-21 11:09 ` Pierre Weis
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=4.3.2.7.2.20010720114757.027ffe80@shell16.ba.best.com \
--to=checker@d6.com \
--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