microsoft / microsoft/STL

<charconv>: Investigate the Eisel-Lemire ParseNumberF64 algorithm for from_chars()

Open
#1,610 6 comments 4 reactions 1 assignee View on GitHub

@StephanTLavavej is already working on this.

Since Feb 2, 2021.

performance
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

The current implementation of from_chars() that I originally shipped in VS 2017 15.8 (released Aug 2018) is a refined version of the UCRT's strtod() with no algorithmic improvements. (At the time I concluded, apparently correctly, that no substantially better algorithms were known, and the UCRT was the only practical option regarding licensing.)

Now that Future Technology 🛰️ is available, we can look into using it. (After finishing C++20!)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.