From: "André Luiz Moura" <aluizmoura@yahoo.com.br>
To: caml-list@inria.fr
Subject: [Caml-list] Reading a large text file
Date: Wed, 28 Apr 2004 12:28:13 -0300 (ART) [thread overview]
Message-ID: <20040428152813.47355.qmail@web60608.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
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!
[-- Attachment #2: Type: text/html, Size: 974 bytes --]
next reply other threads:[~2004-04-28 15:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 15:28 André Luiz Moura [this message]
2004-04-28 16:28 ` Richard Jones
2004-05-01 14:03 ` Brian Hurt
2004-05-01 15:43 ` Rahul Siddharthan
2004-05-01 16:00 ` [Caml-list] [OcamlDoc] langage support sejourne kevin
2004-05-14 7:15 ` Maxence Guesdon
2004-05-01 18:05 ` [Caml-list] Reading a large text file Richard Jones
2004-05-01 18:25 ` Charles Forsyth
2004-05-01 19:25 ` skaller
2004-05-01 19:51 ` Alain.Frisch
2004-05-01 20:40 ` skaller
2004-05-01 21:11 ` [Caml-list] Private types skaller
2004-05-01 21:33 ` [Caml-list] Reading a large text file Alain.Frisch
2004-05-17 5:28 ` Eric Stokes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040428152813.47355.qmail@web60608.mail.yahoo.com \
--to=aluizmoura@yahoo.com.br \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox