caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* OCaml efficiency/optimization?
@ 2005-10-28 10:21 Tato Thetza
  2005-10-28 10:23 ` Tato Thetza
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tato Thetza @ 2005-10-28 10:21 UTC (permalink / raw)
  To: caml-list

I've been reading over
http://caml.inria.fr/pub/docs/manual-ocaml/index.html and have learned
two things:
-lists are immutable and singly linked, which explains why 1::[2;3] is
valid while [2,3]::1 is not, and why its efficient.
-the proper way to ensure tail-recursive optimization

question: are these and other optimizations documented somewhere
officially? I find it a little uncomfortable I've been learning OCaml
without knowning such internal details. Any secrets I should definitely
know if I were to use this language in production?

thanks, 
Tato Thetza


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

end of thread, other threads:[~2005-11-01 23:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28 10:21 OCaml efficiency/optimization? Tato Thetza
2005-10-28 10:23 ` Tato Thetza
2005-10-28 23:07   ` Ant: [Caml-list] " Martin Chabr
2005-10-31 23:50   ` Ocaml for Experienced Programmers Brian Hurt
2005-11-01  1:32     ` [Caml-list] " Yaron Minsky
2005-11-01  0:29   ` [Caml-list] Re: OCaml efficiency/optimization? Brian Hurt
2005-11-01 23:08     ` Matt Gushee
2005-10-28 12:15 ` [Caml-list] " Jon Harrop
2005-10-28 20:00   ` Jon Harrop
2005-10-28 13:03 ` Thomas Fischbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).