[CM] tap fixed - patch to tankrev.scm

anders.vinjar at bek.no anders.vinjar at bek.no
Tue Nov 1 04:08:11 PDT 2016

>>>>> "B" == bil:

    B> I think the macro version is slower -- s7 does not currently
    B> expand macros when first encountered; you can use
    B> define-expansion for that, but the speedup is not great.

If (define-expansion expr) expands expr at read-time, why is it slower
(at run-time) than hardcoding?

    B> Since all the smpls->samples calls involve constants, I'd
    B> precompute those offsets: ...
    B> which is uglier, but 10 times as fast.

That's a decent speed up!

It'd be great if this change is done in the dist'ed version as well.

Thanks.  Anders.

More information about the Cmdist mailing list