[EMAIL PROTECTED] (Ludovic Courtès) writes:

> Hello,
>
> Small I/O functions like `scm_getc ()' deserve to be inlined.  For
> instance, Andy measured it some time ago:
>
>   http://thread.gmane.org/gmane.lisp.guile.devel/6639
>
> I'm planning to apply the attached patch to both `master' and 1.8.
>
> To get an idea of its benefit, I run the attached "benchmark" (inspired
> from that in Guile-Reader) that does a lot of `read'.  On my 1.2 GHz
> Intel Centrino, the inlining yields a 15% run-time improvement for that
> test.
>
> OK to apply?

Yes, all looks good to me.

Would it also make sense to commit the benchmark?  We already have a
"benchmark-suite" directory.

     Neil



Reply via email to