guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fmatch


From: stefan
Subject: Re: fmatch
Date: Mon, 17 May 2010 22:08:00 +0200
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )

Let me suggest.

Shall we say that we use the slightly modified version of (ice-9 match) that
ypu dug up for now!

I found that this code is much faster then the old code and then the 
speedup by using opcode is not much.


For unification we make a special matcher and keep it under a prolog 
library.

On a side note I have not gotten any answer from the author of that code 
that I modified.

Cheers
Stefan

On Monday 10 May 2010 10:26:53 am Ludovic Courtès wrote:
> Hi,
> 
> stefan <address@hidden> writes:
> > (match x ((a b) (+ a b)))
> >
> > (let ((F (lambda (a b) (+ a b))))
> >   (c-code-match x pat F))
> >
> > This has it's elegance. So do you see any performancs
> > issues using this?
> 
> I’d rather avoid C completely for (ice-9 match).  I was mentioning use
> of C for the Prolog implementation you were discussing.
> 
> Thanks,
> Ludo’.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]