Snippets tagged supercompilation

  • Supercompilation using quotations

    This code sample shows how to create a function that raises number to a given power using supercompilation with quotations. For any given power, the function returns quoted expression for calculating the power using explicit multiplications, which is then evaluated.

    21 people like this

    Posted: 13 years ago by Dmitry Soshnikov