A couple of minor things I noticed in the recently-installed patch: > const short minargs = function->min_arity; In theory at least the arity might be greater than 32767, so this should be ptrdiff_t.