• Ok, I have to give up for today.

    My impression is that "compilation" of functions has some important (and perhaps undocumented) limitations I do not know yet.

    @Gordon should we limit compiled functions to computations only? Can they access local variables in their lexical context? Or should we pass any such variables as invocation parameters? Can compiled functions handle Uint8ClampedArray properly? (i.e., incl. clamping?)