Roberto Ierusalimschy
b14609032c
Avoid the creation of too many strings in 'package'
...
Both when setting a path and searching for a file ('searchpath'),
this commit reduces the number of intermediate strings created
in Lua.
(For setting a path the change is not relevant, because this is
done only twice when loading the module. Anyway, it is a nice example
of how to use auxlib buffers to manipulate strings in the C API.)
2019-05-03 10:14:25 -03:00
..
2018-12-19 13:15:14 -02:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-04-17 14:57:29 -03:00
2018-07-25 15:31:04 -03:00
2018-10-22 15:20:07 -03:00
2018-07-09 12:33:01 -03:00
2019-04-10 12:58:14 -03:00
2018-11-01 13:21:00 -03:00
2019-03-19 10:53:18 -03:00
2018-07-25 15:31:04 -03:00
2019-04-10 13:23:14 -03:00
2018-12-27 14:32:29 -02:00
2019-03-22 13:37:17 -03:00
2019-04-04 16:31:24 -03:00
2019-03-22 13:37:17 -03:00
2019-04-22 12:31:29 -03:00
2019-04-11 11:29:16 -03:00
2018-07-25 15:31:04 -03:00
2019-01-04 13:09:47 -02:00
2018-12-14 13:49:02 -02:00
2019-04-09 18:40:39 -03:00
2019-01-04 13:09:47 -02:00
2019-05-03 10:14:25 -03:00
2019-03-13 14:47:48 -03:00
2019-03-21 16:01:55 -03:00
2019-04-11 11:29:16 -03:00
2018-07-25 15:31:04 -03:00
2019-04-26 11:24:39 -03:00
2019-01-08 14:22:32 -02:00
2019-04-04 16:31:24 -03:00
2018-07-25 15:31:04 -03:00
2018-07-25 15:31:04 -03:00