Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve utf8_to_utf16 speed for common path #892

Merged
merged 3 commits into from
Oct 26, 2018

Commits on Oct 7, 2018

  1. Improve utf8_to_utf16 speed for common path

    Conversion from UTF 8 to UTF 16 will consist mostly of single byte code points (e.g. parsing json bodies). This allows running single byte conversion in a tight loop that is only interrupted if multi byte handling becomes necessary.
    
    Measurements for a very long string showed ~30% speed improvement
    christian committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    8e194db View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Configuration menu
    Copy the full SHA
    a83eaef View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Use UtilCharInternal_t as character type to avoid issues with platfor…

    …m dependent definition of char
    christian committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    a1d5980 View commit details
    Browse the repository at this point in the history