From: "blue storm" <bluestorm.dylc@gmail.com>
To: "Hugo Ferreira" <hmf@inescporto.pt>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Optimizing symbolic processing code
Date: Fri, 16 Jan 2009 10:05:38 +0100 [thread overview]
Message-ID: <527cf6bc0901160105u67e68ea1qb3633cd51f273aa0@mail.gmail.com> (raw)
In-Reply-To: <4970488C.9080104@inescporto.pt>
On 1/16/09, Hugo Ferreira <hmf@inescporto.pt> wrote:
> I have implemented a simple Prolog like inference engine
> to be used in machine learning algorithms (ILP). My first
> basic test shows that inference is dismally slow (compared
> to a Prolog compiler). Consequently I am looking for
> information on optimizing the code.
Before trying low-level optimizations, i suggest you check carefully
your implementation. It's a bit strange that your performance is so
bad, and i suspect there could be improvement of algorithmic nature.
There have been successful translations of Prolog to OCaml before :
http://groups.google.com/group/comp.lang.prolog/msg/28c4361bb5f865b8?pli=1
, wich is quite different as it uses the ocaml compiler itself to get
good performances.
next prev parent reply other threads:[~2009-01-16 9:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-16 8:42 Hugo Ferreira
2009-01-16 9:05 ` blue storm [this message]
2009-01-16 9:44 ` [Caml-list] " Hugo Ferreira
2009-01-16 13:41 ` Jon Harrop
2009-01-16 14:15 ` Hugo Ferreira
2009-01-16 16:14 ` Peter Ilberg
2009-01-16 16:19 ` Hugo Ferreira
2009-01-16 19:09 ` Andrej Bauer
2009-01-16 20:48 ` Andrej Bauer
2009-01-17 9:28 ` Hugo Ferreira
2009-01-17 11:39 ` Andrej Bauer
2009-01-17 15:47 ` Hugo Ferreira
2009-01-17 16:08 ` Hugo Ferreira
2009-01-16 21:46 ` Kuba Ober
2009-01-17 9:46 ` Hugo Ferreira
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=527cf6bc0901160105u67e68ea1qb3633cd51f273aa0@mail.gmail.com \
--to=bluestorm.dylc@gmail.com \
--cc=caml-list@inria.fr \
--cc=hmf@inescporto.pt \
/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