leftibot f1411841a3 Fix #514: Avoid exception-based control flow for arithmetic type dispatch
During overloaded function dispatch, when a function's parameter mismatches
are all arithmetic-to-arithmetic (e.g., int where float is expected), the
dispatcher now performs inline Boxed_Number conversion before calling the
function. Previously, the function was called with mismatched types, threw
bad_boxed_cast, and fell through to dispatch_with_conversions — a slow path
on platforms like MSVC where exceptions are expensive under the debugger.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:27:57 -06:00
..
chaiscript Fix #514: Avoid exception-based control flow for arithmetic type dispatch 2026-04-13 20:27:57 -06:00