[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ways to avoid (or speed up) luaL_checkudata() in LuaJIT2?
- From: Leo Razoumov <slonik.az@...>
- Date: Sat, 6 Nov 2010 07:36:12 -0400
On Sat, Nov 6, 2010 at 06:12, Mike Pall <mikelu-1011@mike.de> wrote:
> [Actually the internal userdata methods in LuaJIT have a much
> faster check, using a 16 bit udtype field in every userdata. See
> io_tofilep() in lib_io.c. Alas, this mechanism is not available
> for external methods and it might change anytime.]
>
> --Mike
>
Mike,
what happens if 16 bit udtype field overflows?
--Leo--