[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (rc1) now available
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 19 Dec 2014 11:51:29 +0200
2014-12-19 11:34 GMT+02:00 Pierre Chapuis <catwell@archlinux.us>:
>> BTW, Lua 5.3 has two macros that allow you to disable those automatic
>> coercions, if you want to try.
>>
>> -DLUA_NOCVTN2S to disable conversion from numbers to strings
>> -DLUA_NOCVTS2N to disable conversion from strings to numbers
>
> Nice! Would it be easy to make this a dynamic option
> instead of a compile-time one?
Each option affects the definition of a macro, which appears in the definition
of other macros, which appear ...
So I'd say: not easy, and even if possible, it will affect performance.