commit | 36de01d9885562444ae2e2a3e0b7e01b3fb8743b | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Mar 30 14:49:18 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Mar 30 14:49:18 2021 -0300 |
tree | 7aed386cc8d13e3b2a960404d2cf605d8090d571 | |
parent | 7fbe2158089898f09d741e991737f282e514ffaa [diff] |
Changes in cache for function constants In 'lcode.c', when adding constants to the list of constants of a function, integers represent themselves in the cache and floats with integral values get a small delta to avoid collision with integers. (This change avoids creating artificial addresses; the old implementation converted integers to pointers to index the cache.)
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.