Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* optimizing trivial functions
@ 2006-11-21 23:20 Sean McLaughlin
  2006-11-26 13:36 ` [Caml-list] " Sean McLaughlin
  0 siblings, 1 reply; 3+ messages in thread
From: Sean McLaughlin @ 2006-11-21 23:20 UTC (permalink / raw)
  To: caml-list

Hello,

   Will the Ocaml compiler optimize the following code to let y = ()?
I'm designing a program that will depend heavily on whether this code
is optimized in this way.

let f x1 x2 ... x100 = ()
let y = f x1 ... x100

Thanks,

Sean


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-27 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-21 23:20 optimizing trivial functions Sean McLaughlin
2006-11-26 13:36 ` [Caml-list] " Sean McLaughlin
2006-11-27 12:00   ` Dmitry Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox