<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/ltable.c, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2023-10-26T19:12:25+00:00</updated>
<entry>
<title>Simpler test in 'luaH_getint'</title>
<updated>2023-10-26T19:12:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-10-26T19:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=81e4fce5303fdb274bc5572fb168dd766fb8208e'/>
<id>urn:sha1:81e4fce5303fdb274bc5572fb168dd766fb8208e</id>
<content type='text'>
The test whether key is inside the array part of a table uses a bit
trick to avoid computing the real size of the array part.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2023-05-15T13:07:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-15T13:07:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=934e77a286aeb97ca02badf56956ccc78217e9d0'/>
<id>urn:sha1:934e77a286aeb97ca02badf56956ccc78217e9d0</id>
<content type='text'>
- Better comments about short strings in opcodes.
- luaH_newkey made static.
</content>
</entry>
<entry>
<title>Corrected support for 16-bit systems</title>
<updated>2023-03-09T14:10:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-03-09T14:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1de2f31694ddbc86b18e491c8aedc91791f512e2'/>
<id>urn:sha1:1de2f31694ddbc86b18e491c8aedc91791f512e2</id>
<content type='text'>
We still need access to a 16-bit system to correctly test
these changes.
</content>
</entry>
<entry>
<title>Removed test function 'luaH_isdummy'</title>
<updated>2022-10-21T12:18:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-10-21T12:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=b85816b9a884cbe4cfd139a8e11ffc28ecead576'/>
<id>urn:sha1:b85816b9a884cbe4cfd139a8e11ffc28ecead576</id>
<content type='text'>
It was not being used anywhere.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2022-10-19T19:29:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-10-19T19:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=14d2803e55f0bbc2b09890a3b30afbb063ec973d'/>
<id>urn:sha1:14d2803e55f0bbc2b09890a3b30afbb063ec973d</id>
<content type='text'>
Some cast operations rewritten to use respective macros.
</content>
</entry>
<entry>
<title>Main 'mainposition' replaced by 'mainpositionTV'</title>
<updated>2021-11-25T14:07:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-11-25T14:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ad3942adba574c9d008c99ce2785a5af19d146bf'/>
<id>urn:sha1:ad3942adba574c9d008c99ce2785a5af19d146bf</id>
<content type='text'>
Handle values in table keys as the special cases they are, and not
the other way around.
</content>
</entry>
<entry>
<title>Avoid taking the address of a 'TValue' field</title>
<updated>2021-10-11T16:52:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-10-11T16:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f'/>
<id>urn:sha1:0e5071b5fbcc244d9f8c4bae82e327ad59bccc3f</id>
<content type='text'>
That structure can be packed in the future.
</content>
</entry>
<entry>
<title>New hash function for integer keys</title>
<updated>2021-03-29T18:47:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-29T18:47:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7fbe2158089898f09d741e991737f282e514ffaa'/>
<id>urn:sha1:7fbe2158089898f09d741e991737f282e514ffaa</id>
<content type='text'>
When integer keys do not form a sequence, it is better to use all their
bits to compute their hashes. (The previous implementation was quite bad
for integer keys with common lower bits, and disastrous for integer keys
changing only in their upper 32 bits.)
</content>
</entry>
<entry>
<title>Details</title>
<updated>2021-03-12T14:29:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-12T14:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=014daf43cb3bf1ceb6af102c9294ec04abf9a6b6'/>
<id>urn:sha1:014daf43cb3bf1ceb6af102c9294ec04abf9a6b6</id>
<content type='text'>
Comments and order of hashing macros in 'ltable.c'.
</content>
</entry>
<entry>
<title>Broadening the use of branch hints</title>
<updated>2021-02-24T14:14:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T14:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=59c88f846d1dcd901a4420651aedf27816618923'/>
<id>urn:sha1:59c88f846d1dcd901a4420651aedf27816618923</id>
<content type='text'>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</content>
</entry>
</feed>
