Browse thread
[Caml-list] Reading a large text file
[
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: | 2004-04-28 (15:28) |
From: | André Luiz Moura <aluizmoura@y...> |
Subject: | [Caml-list] Reading a large text file |
Hi List, I wrote an OCaml function to read a text file with a million of lines with five separate columns for spaces. I based myself on previous messages of Caml-list, but however the work is taking time frightful (many minutes). This function written in C, for example, does not take more than 4 seconds. I am executing the program in a PC Pentium III of 128 MB of RAM under Windows platform. How would be implemented the function to decide this problem? File format: <vertex #> <x> <y> [attributes] [boundary marker] Thanks, André --------------------------------- Yahoo! Messenger - Fale com seus amigos online. Instale agora!