Kevin Ryde <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to