-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
SP Prioritized List
Previously seen in SERVER-78480, we have observed this in profiling JParse(json.cpp). Parsing doubles copies the entire string which can be arbitrarily long. Given that we already have a StringData in parseNumberFromStringHelper<double>(), we can use C++ istringstream double parsing routine in place of strtod().
- is related to
-
SERVER-96399 NumberParser relies on strtod, making it potentially unreliable as-is
- Investigating
- related to
-
SERVER-96403 ParseNumber (Windows-only) consumes all of input on inf,nan
- Backlog
-
SERVER-78480 Avoid unnecessary string copies in NumberParser
- Closed