lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Question about the condition in `luaH_getint` function
From
: Xmilia Hermit <xmilia.hermit@
...
>
Date
: Tue, 18 Apr 2023 23:01:16 +0200
Mouse:
It does, though, assume t->alimit is a power of two. Is that guaranteed?
It does not assume that t->alimit is a power of two. That would be
wrong. It only assumes that nextPowerOfTwo(t->alimit) is the real array
length.
Regards, Xmilia
Follow-Ups
:
Re: Question about the condition in `luaH_getint` function
,
Mouse
References
:
Question about the condition in `luaH_getint` function
,
無所謂
Re: Question about the condition in `luaH_getint` function
,
Roberto Ierusalimschy
Re: Question about the condition in `luaH_getint` function
,
Xmilia Hermit
Re: Question about the condition in `luaH_getint` function
,
Roberto Ierusalimschy
Re: Question about the condition in `luaH_getint` function
,
Xmilia Hermit
Re: Question about the condition in `luaH_getint` function
,
Mouse
Prev by Date:
Re: Question about the condition in `luaH_getint` function
Next by Date:
Re: Question about the condition in `luaH_getint` function
Previous by thread:
Re: Question about the condition in `luaH_getint` function
Next by thread:
Re: Question about the condition in `luaH_getint` function
Index(es):
Date
Thread