On Wed, Oct 16, 2013 at 6:45 AM, Chris Bagley chris.bagley@gmail.com wrote:
Or is it that once the lambda is compiled, it replaces the version with generate-gl-function in it? Does that mean that the wrapper functions are compiled on first call?
Right, the call to COMPILE replaces the function with the result of compiling the LAMBDA, so a specialized wrapper is compiled when it is called. If I remember correctly, there is also a commented out version that uses a closure instead, if runtime compilation is a problem.