theweipeng opened a new pull request, #2043: URL: https://github.com/apache/fury/pull/2043
## What does this PR do? 1. Rewrting the string serializer by c++ to optimize the performance. 2. Downloading the special version of v8's header file through nodejs's repo when installing the `Hps Module`. Now the `Hps Module` can support all nodejs versions. 3. With V8's string info , we can now serialize strings by directly copying whitout any encoding or checking. This feature was submitted to the nodejs's repo and discussed for a long time but could not be merged. 4. Supporting utf16le ## Benchmark ### Before | (index) | serialize | deserialize | |----------|-----------|-------------| | fury | 100 | 107 | | protobuf | 23 | 29 | | json | 17 | 23 | ### After | (index) | serialize | deserialize | |----------|-----------|-------------| | fury | 141 | 107 | | protobuf | 23 | 29 | | json | 17 | 23 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
