-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Add some functions to the File class #296
Comments
This can be implemented in lua, but it's way faster to do it in c++, because of the time it takes to call an MTA function(3k-12k ms / 10m calls, seems like functions which use argStream.nextIs*() are slower, especially Vector3.create which takes 12k ms / 10m). |
How frequently are you writing to files, and how large are your files (what are you writing?), that the latency is becoming a problem? |
I'll write a lot because the way I save the data of my custom interiors. |
can you please tell me more about |
Actually, it should be called 'writeAll' |
Is your feature request related to a problem? Please describe.
Partially, because sometimes I just want to rewrite the whole file, so a functions like:
File.readall
File.writeall
And maybe:
File.clear
Describe the solution you'd like
Add the mentioned functions.
The text was updated successfully, but these errors were encountered: