Go to file
Roberto Ierusalimschy 351ccd7332 Towards a new implementation of arrays
The array part of a table wastes too much space, due to padding.
To avoid that, we need to store values in the array as something
different from a TValue. Therefore, the API for table access
should not assume that any value in a table lives in a *TValue.
This commit is the first step to remove that assumption: functions
luaH_get*, instead of returning a *TValue where the value lives,
receive a *TValue where to put the value being accessed.
(We still have to change the luaH_set* functions.)
2023-05-15 17:56:25 -03:00
manual "Emergency" new version 5.4.6 2023-05-02 16:41:43 -03:00
testes Bug: Loading a corrupted binary file can segfault 2023-03-17 15:52:09 -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 Towards a new implementation of arrays 2023-05-15 17:56:25 -03:00
lapi.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lauxlib.c Changed the growth rate of string buffers 2022-09-06 10:58:55 -03:00
lauxlib.h Removed goto's in 'luaD_precall' 2021-10-18 11:58:40 -03:00
lbaselib.c Bug: GC is not reentrant 2021-12-13 10:41:17 -03:00
lcode.c More orderliness in casts of enumerations 2023-03-27 16:29:39 -03:00
lcode.h Details 2020-02-27 12:59:22 -03:00
lcorolib.c "Emergency" new version 5.4.6 2023-05-02 16:41:43 -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 Broadening the use of branch hints 2021-02-24 11:14:44 -03:00
ldebug.c Details 2023-04-18 09:44:10 -03:00
ldebug.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
ldo.c Corrected support for 16-bit systems 2023-03-09 11:10:04 -03:00
ldo.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
ldump.c Bug: Loading a corrupted binary file can segfault 2023-03-17 15:52:09 -03:00
lfunc.c Removed unused field 'UpVal.tbc' 2022-11-08 10:15:10 -03:00
lfunc.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lgc.c Reduce calls to 'luaC_step' when GC is stopped 2022-12-09 16:35:19 -03:00
lgc.h Small change in barrier macros 2022-12-15 14:18:03 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c Broadening the use of branch hints 2021-02-24 11:14:44 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Details 2023-04-18 09:44:10 -03:00
llex.h Detail 2020-09-15 14:29:52 -03:00
llimits.h Details 2023-04-18 09:44:10 -03:00
lmathlib.c Details 2022-12-02 11:33:09 -03:00
lmem.c Small improvements in 'lmem.c' 2022-12-15 10:44:55 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Details 2022-04-01 13:55:44 -03:00
lobject.c Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lobject.h Removed unused field 'UpVal.tbc' 2022-11-08 10:15:10 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Corrected support for 16-bit systems 2023-03-09 11:10:04 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c Simpler definition for LUA_STRFTIMEOPTIONS 2023-02-07 10:48:39 -03:00
lparser.c Details 2023-04-18 09:44:10 -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 "Emergency" new version 5.4.6 2023-05-02 16:41:43 -03:00
lstate.h Details in some header files 2022-12-14 16:20:39 -03:00
lstring.c Broadening the use of branch hints 2021-02-24 11:14:44 -03:00
lstring.h Hash always use all characters in a long string 2020-10-12 12:29:09 -03:00
lstrlib.c Details 2023-04-18 09:44:10 -03:00
ltable.c Towards a new implementation of arrays 2023-05-15 17:56:25 -03:00
ltable.h Towards a new implementation of arrays 2023-05-15 17:56:25 -03:00
ltablib.c Corrected error message in 'table.remove' 2022-09-07 12:21:46 -03:00
ltests.c "Emergency" new version 5.4.6 2023-05-02 16:41:43 -03:00
ltests.h Bug: Wrong code generation in bitwise operations 2022-04-25 14:42:51 -03:00
ltm.c Stack indices changed to union's 2022-10-29 12:06:37 -03:00
ltm.h Details in some header files 2022-12-14 16:20:39 -03:00
lua.c Details 2023-04-18 09:44:10 -03:00
lua.h "Emergency" new version 5.4.6 2023-05-02 16:41:43 -03:00
luaconf.h New macro LUA_USE_IOS 2023-02-02 13:43:41 -03:00
lualib.h 'lua_assert' moved from 'lualib.h' to 'lauxlib.h' 2020-12-03 10:39:38 -03:00
lundump.c Bug: Loading a corrupted binary file can segfault 2023-03-17 15:52:09 -03:00
lundump.h Details in comments 2020-05-07 14:52:19 -03:00
lutf8lib.c Bug: 'utf8.codes' accepts spurious continuation bytes 2022-09-23 10:41:16 -03:00
lvm.c Towards a new implementation of arrays 2023-05-15 17:56:25 -03:00
lvm.h Towards a new implementation of arrays 2023-05-15 17:56:25 -03:00
lzio.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lzio.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
makefile New year (2023) 2023-03-31 11:47:31 -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.