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!