diff -u -r lua-5.3.4-rc1/README lua-5.3.4-rc2/README --- lua-5.3.4-rc1/README 2017-01-02 12:53:19.000000000 -0200 +++ lua-5.3.4-rc2/README 2017-01-09 13:32:29.000000000 -0200 @@ -1,5 +1,5 @@ -This is Lua 5.3.4, released on 02 Jan 2017. +This is Lua 5.3.4, released on 09 Jan 2017. For installation instructions, license details, and further information about Lua, see doc/readme.html. diff -u -r lua-5.3.4-rc1/doc/manual.html lua-5.3.4-rc2/doc/manual.html --- lua-5.3.4-rc1/doc/manual.html 2016-12-22 18:22:26.000000000 -0200 +++ lua-5.3.4-rc2/doc/manual.html 2017-01-09 13:30:53.000000000 -0200 @@ -35,7 +35,7 @@

- + @@ -2165,8 +2165,9 @@ as it has only one border (5). The table `{10, 20, 30, nil, 50}` has two borders (3 and 5), and therefore it is not a sequence. -The table `{nil, 20, 30, nil, 50, nil}` has three borders (0, 3 and 5), -so it also is not a sequence. +The table `{nil, 20, 30, nil, nil, 60, nil}` +has three borders (0, 3, and 6), +so it is not a sequence, too. The table `{}` is a sequence with border 0. Note that non-natural keys do not interfere with whether a table is a sequence. @@ -2185,6 +2186,12 @@

+The computation of the length of a table +has a guaranteed worst time of O(log n), +where n is the largest natural key in the table. + + +

A program can modify the behavior of the length operator for any value but strings through the `__len` metamethod (see §2.4). @@ -4340,7 +4347,7 @@

When `n` is zero, -this function creates a light N{C function}, +this function creates a light C function, which is just a pointer to the C function. In that case, it never raises a memory error. @@ -10968,7 +10975,7 @@