From e96385adede47a1abf160a41565ec742d3d4e413 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Jul 2020 11:36:56 -0300 Subject: Simplification and smaller buffers for 'lua_pushfstring' The function 'lua_pushfstring' is seldom called with large strings, there is no need to optimize too much for that cases. --- testes/strings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testes') diff --git a/testes/strings.lua b/testes/strings.lua index 4a10857e..2fa4a89f 100644 --- a/testes/strings.lua +++ b/testes/strings.lua @@ -438,7 +438,7 @@ else -- formats %U, %f, %I already tested elsewhere - local blen = 400 -- internal buffer length in 'luaO_pushfstring' + local blen = 200 -- internal buffer length in 'luaO_pushfstring' local function callpfs (op, fmt, n) local x = {T.testC("pushfstring" .. op .. "; return *", fmt, n)} -- cgit v1.2.3-55-g6feb