lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> If Lua knows that my comparison function is flawed (and it most
> obviously does), it should tell me just that, instead of pestering my
> poor function with bogus arguments just to see what happens.

Why "it most obviously does"? For Lua to know that the comparison
function is flawed it needs extra checks in the code, so we must choose
between performance and better error messages.

-- Roberto