liam mail wrote:
> Sorry looking again at your posted code
> @@ -244,6 +244,8 @@ namespace luabind { namespace detail
> {
> object_rep* result = static_cast<object_rep*>(lua_
> touserdata(L,
> index));
>
> + return result;
> +
> if (!result || !lua_getmetatable(L, index))
> return 0;
>
[...]
> The code you posted only checks
> that the userdata has a metatable not that it is an actual object_rep from
> what I see.
If you actually looked at the code rather than the diff context you
might have noticed that it *does* check that.
> Just as you have a method to turn this off locally I may introduce a define
> to turn it on if a user so requires, in a future release.
Yes, and that will make the benchmark results different.
--
Following is a copy of the message I have posted to other places where the release data was posted.