unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: 10651@debbugs.gnu.org, foof@synthcode.com
Subject: bug#10651: There should be a fix to this bug
Date: Mon, 21 May 2012 22:51:09 +0200	[thread overview]
Message-ID: <CAGua6m2brkUiEgH4Q6Sa10oQ8Nh07vM3aZ6epxB5dFewT18Vdw@mail.gmail.com> (raw)
In-Reply-To: <20120130101036.GA20941@ccellier.rd.securactive.lan>

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

Hi,

In the compilation of the or pattern the sk is made a lambda
but not the fk hence the observed geometric explosion. I have a fix
for this that works but intend to talk with foof about it
to fix ithe upstream matcher. There is really no need to change the doc

The fix is easy (I beleve). Actually a small diff for it shows shows,

482,483c482
<      (let ((ffk (lambda () (match-gen-or-step v q g+s sk fk i))))
<        (match-one v p g+s sk (ffk) i)))
---
>      (match-one v p g+s sk (match-gen-or-step v q g+s sk fk i) i))

/Stefan

[-- Attachment #2: Type: text/html, Size: 609 bytes --]

  reply	other threads:[~2012-05-21 20:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30 10:10 bug#10651: compiling pattern matching for (or ...) takes forever rixed
2012-05-21 20:51 ` Stefan Israelsson Tampe [this message]
2012-06-08 10:45   ` bug#10651: There should be a fix to this bug Ludovic Courtès

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGua6m2brkUiEgH4Q6Sa10oQ8Nh07vM3aZ6epxB5dFewT18Vdw@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=10651@debbugs.gnu.org \
    --cc=foof@synthcode.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).