1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00
Files
lua-lua/testes
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-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-04-11 11:29:16 -03:00
2019-01-04 13:09:47 -02:00
2018-12-14 13:49:02 -02:00
2019-01-04 13:09:47 -02:00
2019-04-11 11:29:16 -03:00