Skip to content

Tags: simdutf/simdutf

Tags

v9.0.0

Toggle v9.0.0's commit message
release 9.0.0

v8.0.0

Toggle v8.0.0's commit message
Version 8.0.0

v7.7.1

Toggle v7.7.1's commit message
7.7.1

v7.7.0

Toggle v7.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version 7.7.0 (release candidate) (#863)

* Return more information from utf8_length_from_utf16_with_replacement (#860)

The next step after utf8_length_from_utf16_with_replacement
is almost always going to be to allocate a UTF-8 buffer and
then convert the string. Sadly, we have to insert a third
pass, to_well_formed_utf16, which converts the unpaired
surrogates.

Since surrogates are relatively rare, and the _with_replacement
functions have already scanned the input, we could skip the
conversion if we were given this information along with the
utf-8 length.

In my measurements on Icelake this doesn't slow down
utf8_length_from_utf16_with_replacement at all.

* lint

* better documentation.

* version bump.

* [no-ci] minor simplification

* correct macro name. (!!!)

* removing silly space

---------

Co-authored-by: Erik Corry <[email protected]>
Co-authored-by: Daniel Lemire <[email protected]>

v7.6.0

Toggle v7.6.0's commit message
version 7.6.0.

v7.5.0

Toggle v7.5.0's commit message
version 7.5.0

v7.4.0

Toggle v7.4.0's commit message
Merge branch 'master' of github.com:simdutf/simdutf

v7.3.6

Toggle v7.3.6's commit message
release 7.3.6