Change the msgpack-lite used in Javascript #2974
AprendizFivem
started this conversation in
Engineering Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
msgpack-lite is a message encoder/decoder that optimizes message sending. However, there are better solutions (purely in Javascript) than msgpack-lite. See that some of them can perform up to 5x better than msgpack-lite. This would result in native Javascript calls being optimized, performing better in a general scenario.
We could carry out some tests within the context of Fivem. Like what was done here
https://github.com/endel/msgpack-benchmark
Beta Was this translation helpful? Give feedback.
All reactions