-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal for windows unicode #132
Comments
Doing a test to check size of all a directory tree I could measure the speed of https://github.com/luapower/fs against luafilesystem and https://github.com/sonoro1234/luafilesystem: It took arround 36 seconds for both lfs and 8 seconds for fs. This fileinfo object is the key to speed (as I could check making a I think that future versions of lfs should take a look at https://github.com/luapower/fs |
After dicussion in PR #57 my proposal would be to wrap all functions in lfs taking a path so that it is converted to unicode. Functions that return paths would convert them from unicode to UTF-8.
In order to keep compability io.open and other Lua functions taking paths would be overloaded by functions from lfs (lfs.open lfs.remove) so that would be lfs 1.8 (instead of 2.0)
The text was updated successfully, but these errors were encountered: