Browse thread
RE: [Caml-list] @, List.append, and tail recursion
-
Andrew Kennedy
-
brogoff@s...
-
Christophe Raffalli
- Brian Hurt
- Mattias Waldau
-
Christophe Raffalli
-
brogoff@s...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-01-31 (10:33) |
From: | Mattias Waldau <mattias.waldau@a...> |
Subject: | RE: [Caml-list] @, List.append, and tail recursion |
> brogoff@speakeasy.net wrote: > > Thanks for the reference. I get nailed by this a couple of times a > > year, and I usually just blame myself for being sloppy and recode > > all of my maps, appends, and filters to remove it. I think it would I agree that this is recurring problem, I myself often get bit by List.map. It makes it very easy to make non-scalable program, works for input less that 1000 elements, and the when applied to a large problem it fails without a trace. It is very difficult to find the location of the problem if you use the native compiler, and most of these programs doesn't even work using the byte-code compiler. So one of my coding guidelines is: - do not use List.map I would like a prefer other solutions. /mattias ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners