caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: Now it's faster (addendum to "Performance-question")
Date: Wed,  6 Feb 2008 12:33:48 +0100	[thread overview]
Message-ID: <1202297628.47a99b1c7ec53@webmail.in-berlin.de> (raw)

Hello,

only to complete the thread...

...I have switched from one suspicious
function that uses lists to one that uses Maps,
but this was not brininging much speed-up.
So my list-based implementation seems to be not that bad.

Then I switched from a string appending function
that uses "^" to the Buffer-module, because I remembered
that it helped my in other programs also to speed up.

I have now about 1/3 less running time for the tool,
and I have not all occurences of the "^" using function
weeped out. So this will bring even more speedup,
when making theses changes complete. :-)

But the general behavour that in the middle of the run
there is a slow-down did not go away so far. gprof also
shows similar percentage values. But possibly the remaining
"^"-applications stops somewhere and somehow, when some very long
strings are concatenated? I will see, when throwing out that stuff
completely.

Ciao,
   Oliver


             reply	other threads:[~2008-02-06 11:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 11:33 Oliver Bandel [this message]
2008-02-06 11:55 ` [Caml-list] " Oliver Bandel
2008-02-06 12:04   ` Vincent Hanquez
2008-02-07  9:55     ` David Teller
2008-02-09 10:03       ` Oliver Bandel
2008-02-09 10:29         ` David Teller
2008-02-09 10:18     ` Oliver Bandel
2008-02-11 12:36       ` Vincent Hanquez
2008-02-11 10:01     ` Jean-Christophe Filliâtre
2008-02-11 12:41       ` Vincent Hanquez
2008-02-11 14:34         ` Jean-Christophe Filliâtre
2008-02-11 14:51           ` Vincent Hanquez

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=1202297628.47a99b1c7ec53@webmail.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --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;
as well as URLs for NNTP newsgroup(s).