Conversation
|
@EgorBo : I request your opinion on this PR since your input had been such important previously. This new PR delivers a considerable performance improvement. Could you take a look and maybe update the PR for .net framework you did for us? Another quick question : with C# would method chaining affect performance ? I mean as I have many overloads for methods ParseDouble and TryParseDouble with/without consumed_caracters optional variable, should chaining be avoided or it doesn't really matters ? I been trying to measure exactly how faster is TryParseDouble compared to ParseDouble (as the second calls the first). Chaining overloaded methods could save a couple of line of code and maybe it's a bit clearier but I am having a hard time trying to measure the exact cost of chaining. Thanks a lot. |
|
@gfoidl i'm sure you'll be interested in this new PR. I had issues with previous one (I had some perf. regression with previous PR and had to step back a bit...) |
Co-authored-by: Günther Foidl <gue@korporal.at>
This PR introduce SIMD operation for UTF-16 string parsing. It improves performance a lot. From now on performance of UTF-16 parsing is equivalent (if not faster) as UTF-8.
In some cases, it is up to 8 to 9 times faster than standard library.