HaxeFoundation / HaxeFoundation/hxcpp

Unify string encoding

Open
#1,294 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

The UTF8 and UTF16 classes in `cpp::encoding` mostly duplicates the encoding which also occurs in `String.cpp`. I would have updated string to also use those dedicated encoding classes but doing some benchmarking of converting 5 paragraphs of lorem ipsum with a few emojis in it from UTF16 to UTF8 showed it to be twice as slow.

So there probably needs to be an optimisation pass to close the distance before unifying the two.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.