lua-users home
lua-l archive

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


I have looked at the patch and I think I like the idea.
For applications where the number exchange is performance critical,
methinks it has legs.
I am curious as to the Lua authors view of things?

DB

On 2/19/06, David Manura <dm.lua@math2.org> wrote:
> I've posted the following patch against Lua 5.1:
>
>   http://lua-users.org/wiki/CnumberPatch
>
> The CNUMBER patch provides a more efficient mechanism for accessing numeric C
> variables from Lua.  Accessing C variables becomes almost as efficient as
> accessing local Lua variables.  Various design decisions were made, so I'm
> interested in opinions on that and whether there is a possibility for this, or
> at least something like this, getting into the Lua core.
>
> -davidm
>
>