This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge chakra-core/ChakraCore@7b7ddfe8f3] [MERGE #3609 @MSLaguana] Ch…
…anging utf8 conversion codex to improve perf and safety Merge pull request #3609 from MSLaguana:utfConversionWithoutAllocation With this change the utf8Codex becomes aware of the size of the buffer it is given to write into, and will assert if the buffer it too small. utf8Codex now also supports just counting the size that a utf8 string would be without needing a buffer to write to. To make use of this, the Jsrt JsCopyString method has been modified so that it can be used to extract a string with only one allocation, down from ~3. This has a ~1.3% perf gain in node-chakracore acmeair
- Loading branch information
Showing
16 changed files
with
270 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.