Open neuecc opened 6 years ago
@itn3000 is trying fast utf8 <-> utf16 utilities. https://github.com/itn3000/unicode-convert-utilities
@ufcpp is building custom UTF8 decoder. https://github.com/ufcpp/Utf8Utils
NStack
is golang like new encoding system.
https://github.com/migueldeicaza/NStack
System.Text.Utf8String
is span based new primitive.
https://github.com/dotnet/corefxlab/tree/master/src/System.Text.Utf8String/System/Text
Regarding utf-8: http://nullprogram.com/blog/2017/10/06/ https://news.ycombinator.com/item?id=15423674 and related from https://github.com/dotnet/corefxlab/issues/1831
hi @neuecc we badly need your help, do you have an idea or workaround for our issue? https://github.com/neuecc/Utf8Json/issues/224
Escaping string character is hurt of performance of JSON serialization. It is possible to reduce escape cost by creating custom UTF8 Encoding that includes JSON encoding/decoding. for invoke internal
FastAllocateString
, it is necessary to inherit Encoding.Also, it is necessary to implement efficient UTF 8 encoding/decoding. I found this article. http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ If there are any other good examples, please let me know.