mirror of
https://github.com/lua/lua
synced 2025-02-07 00:34:00 +03:00
![Roberto Ierusalimschy](/assets/img/avatar_default.png)
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.)
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%