[
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: | -- (:) |
| From: | Damien Doligez <Damien.Doligez@i...> |
| Subject: | Re: [Caml-list] Performance-cost of ^ |
On Wednesday, March 26, 2003, at 10:52 AM, Oliver Bandel wrote: > I'm reading in a file linewise. > For some operations I need it as > one long string. > > How to acchieve this performant? > Is it ok to use ^ for a list of lines > (with List.fold_right? or List.fold_left?) You should use String.concat. -- Damien ------------------- 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