From: "Christopher L Conway" <cconway@cs.nyu.edu>
To: "Jean-Christophe Filliatre" <Jean-Christophe.Filliatre@lri.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Knuth-Morris-Pratt
Date: Thu, 26 Jul 2007 10:27:56 -0400 [thread overview]
Message-ID: <4a051d930707260727q31794e28pb388151a163209b7@mail.gmail.com> (raw)
In-Reply-To: <18088.39868.902524.369354@serveur9-10.lri.fr>
Hmm. My KMP implementation turned out to be a real bottleneck in my
ICFP code; I suspected I should have chosen Boyer-Moore (not knowing
anything about the constant factors of each, just stabbing in the
dark)... Maybe it was the average-case O(log n) "get" in my "rope"
implementation...
Chris
On 7/26/07, Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr> wrote:
>
> As a byproduct of the last ICFP programming contest, I'm releasing an
> implementation of Knuth-Morris-Pratt string searching algorithm that I
> wrote years ago. You can find it here, in my ocaml bazar:
>
> http://www.lri.fr/~filliatr/software.en.html
>
> Just in case it may be useful, as it finally happened to be for myself.
>
> --
> Jean-Christophe, a Caml Rider
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
next prev parent reply other threads:[~2007-07-26 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 13:03 Knuth-Morris-Pratt Jean-Christophe Filliatre
2007-07-26 14:27 ` Christopher L Conway [this message]
2007-07-27 0:19 ` [Caml-list] Knuth-Morris-Pratt Alain Frisch
2007-07-26 15:17 ` Markus E.L.
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=4a051d930707260727q31794e28pb388151a163209b7@mail.gmail.com \
--to=cconway@cs.nyu.edu \
--cc=Jean-Christophe.Filliatre@lri.fr \
--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