Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
String: performance improvement converting uint64_t to string (4x)
Based on the trick given by A. Alexandrescu on Facebook Engineering blog, this patch replace the old mk_str_itop() with the faster algorithm proposed. More details about the implementation here: https://www.facebook.com/notes/facebook-engineering/three-optimization-tips-for-c/10151361643253920 Signed-off-by: Eduardo Silva <eduardo@monkey.io>
- Loading branch information
Showing
4 changed files
with
61 additions
and
30 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