Henk Boom wrote: > In what cases are pcall/xpcall expensive or cheap? Calling pcall/xpcall and returning from it with no error (true return value) is very cheap and zero-cost if JIT-compiled. Throwing an error is expensive (very expensive on some platforms). --Mike