mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
Roberto Ierusalimschy
3da34a5fa7
Revamp of 'lua_pushfstring' / 'luaO_pushvfstring'
The function 'luaO_pushvfstring' now uses an internal buffer to concatenate small strings, instead of pushing all pieces on the stack. This avoids the creation of several small Lua strings for each piece of the result. (For instance, a format like "n: '%d'" used to create three intermediate strings: "n: '", the numeral, and "'". Now it creates none.)
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%