Go to file
Roberto Ierusalimschy 9904c253da Flexible limit for use of registers by constructors
Instead of a fixed limit of 50 registers (which, in a bad worst case,
can limit the nesting of constructors to 5 levels), the compiler
computes an individual limit for each constructor based on how many
registers are available when it runs. This limit then controls the
frequency of SETLIST instructions.
2024-06-27 11:24:27 -03:00
manual Length of external strings must fit in Lua integer 2024-06-24 12:03:59 -03:00
testes Flexible limit for use of registers by constructors 2024-06-27 11:24:27 -03:00
.gitignore 'lua_upvalueid' returns NULL on invalid upvalue index 2020-10-12 14:51:28 -03:00
all 'lua_checkstack' doesn't need to check stack overflow 2022-05-23 10:38:03 -03:00
lapi.c Length of external strings must fit in Lua integer 2024-06-24 12:03:59 -03:00
lapi.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lauxlib.c Length of external strings must fit in Lua integer 2024-06-24 12:03:59 -03:00
lauxlib.h lua_writestring & co. moved to llimits.h 2024-06-21 12:29:08 -03:00
lbaselib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lcode.c Flexible limit for use of registers by constructors 2024-06-27 11:24:27 -03:00
lcode.h Some 'unsigned int' changed to 'unsigned' 2024-03-22 14:06:11 -03:00
lcorolib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h Better documentation for 'lctype.h' 2020-09-03 09:52:43 -03:00
ldblib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
ldebug.c Bug: Active-lines for stripped vararg functions 2024-06-04 17:27:13 -03:00
ldebug.h Bug: Call hook may be called twice when count hook yields 2023-07-25 16:50:44 -03:00
ldo.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
ldo.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
ldump.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lfunc.c Fixed buffers reuse absolute line information 2023-12-27 17:42:00 -03:00
lfunc.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lgc.c Details 2024-05-08 17:50:10 -03:00
lgc.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
linit.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
liolib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
llex.h Detail 2020-09-15 14:29:52 -03:00
llimits.h lua_writestring & co. moved to llimits.h 2024-06-21 12:29:08 -03:00
lmathlib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lmem.c Merge branch 'master' into nextversion 2022-12-15 10:51:04 -03:00
lmem.h Tables have a 'lastfree' information only when needed 2022-11-01 15:42:08 -03:00
loadlib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lobject.c Details 2024-01-29 14:29:24 -03:00
lobject.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Flexible limit for use of registers by constructors 2024-06-27 11:24:27 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lparser.c Flexible limit for use of registers by constructors 2024-06-27 11:24:27 -03:00
lparser.h Details 2020-12-02 15:13:13 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lstate.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lstring.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lstring.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lstrlib.c Removed 'int' size limit for string.rep 2024-06-21 16:26:49 -03:00
ltable.c Encoding of table indices (hres) must use C indices 2024-06-10 12:09:35 -03:00
ltable.h Encoding of table indices (hres) must use C indices 2024-06-10 12:09:35 -03:00
ltablib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
ltests.c Flexible limit for use of registers by constructors 2024-06-27 11:24:27 -03:00
ltests.h Removed compatibility option LUA_COMPAT_GCPARAMS 2023-12-22 14:57:43 -03:00
ltm.c Fixed dangling 'StkId' in 'luaV_finishget' 2024-03-29 15:10:50 -03:00
ltm.h Fixed dangling 'StkId' in 'luaV_finishget' 2024-03-29 15:10:50 -03:00
lua.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lua.h New year (2024) 2024-05-02 12:03:30 -03:00
luaconf.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lualib.h New interface to function 'luaL_openselectedlibs' 2024-02-15 11:17:39 -03:00
lundump.c Length of external strings must fit in Lua integer 2024-06-24 12:03:59 -03:00
lundump.h Removed type 'varint_t' 2024-03-13 09:16:51 -03:00
lutf8lib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lvm.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lvm.h 'luaH_get' functions return tag of the result 2024-03-21 11:23:21 -03:00
lzio.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lzio.h Added suport for Fixed Buffers 2023-09-05 15:30:45 -03:00
makefile Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
onelua.c Details 2023-03-09 11:12:11 -03:00
README.md Details 2020-12-02 15:13:13 -03:00

Lua

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.