1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00
Roberto Ierusalimschy b0810c51c3 Small optimizations in 'string.gsub'
Avoid creating extra strings when possible:

- avoid creating new resulting string when subject was not modified
(instead, return the subject itself);

- avoid creating strings representing the captured substrings when
handling replacements like '%1' (instead, add the substring directly
to the buffer).
2019-04-11 11:29:16 -03:00
2019-03-27 14:56:10 -03:00
2018-10-25 15:30:15 -03:00
2019-03-14 15:30:54 -03:00
2019-03-25 14:12:06 -03:00
2019-03-13 13:16:53 -03:00
2018-10-23 12:58:38 -03:00
2018-11-22 13:56:04 -02:00
2019-03-25 14:12:06 -03:00
2019-03-14 15:30:54 -03:00
2019-04-11 11:29:16 -03:00
2019-03-27 14:56:10 -03:00
2019-03-27 14:56:10 -03:00
2019-03-14 15:30:54 -03:00
2019-03-25 14:12:06 -03:00
Description
No description provided
16 MiB
Languages
C 67.4%
Lua 32%
Makefile 0.6%