Closed CrosRoad95 closed 1 month ago
I like the idea of using streams but it should be suitable for #2947 as well. Big amount of data should not go throuth "C -> Lua -> C" loop. Possible solutions rn:
Soon we will celebrate second anniversary of this issue 🎉 funny that feature that can significantly improve performance both server and client got no interest from mta team
Is your feature request related to a problem? Please describe.
Problem is with performance, for example scenario where you use tea encode to protect your assets: open and read file -> teaDecode -> replace this process is not fast, especially if someone have a lot of data to process what is not uncommon
Describe the solution you'd like
introduce streams, byte array and/or other structures that can be used to optimize server for example:
that way we are skipping part where data are unnecessarily copied into and out from lua what will positively affect performance
Describe alternatives you've considered
/
Additional context
/
Security Policy