[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string-every returns #f when applied to an empty sequence
From: |
Rob Browning |
Subject: |
Re: string-every returns #f when applied to an empty sequence |
Date: |
Fri, 13 Aug 2004 01:39:37 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> Thanks. If it's contrary to the spec then it's a bug in guile.
>
> Looks like guile also doesn't make the final predicate application a
> tail call the way the spec describes. Not sure how to fix that.
Actually, we can change it so that we handle the last invocation
specially, i.e. "return scm_call_1(...);".
If we're going to implement string-every in C, then that's the best we
can do right now, and from looking at the output of srfi-13.s via
-save-temps (presuming I'm reading the x86 assembly right) newer gcc's
optimize that call to a jmp.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- Re: string-every returns #f when applied to an empty sequence,
Rob Browning <=