Documentation ¶
Overview ¶
https://www.reddit.com/r/golang/comments/xv9yyv/strconvparsefloat_faster_altrernatives/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNumber ¶
ParseNumber reads decimal number that matches "^-?[0-9]{1,2}[.][0-9]" pattern, e.g.: -12.3, -3.4, 5.6, 78.9 and return the value*10, i.e. -123, -34, 56, 789. From: https://github.com/gunnarmorling/1brc/blob/db064194be375edc02d6dbcd21268ad40f7e2869/src/main/go/AlexanderYastrebov/calc.go#L261C1-L283C2
func ParseTempBigFloat ¶
func ParseTempFloat ¶
func ParseTempToInt ¶
ParseIntoInt parses a string containing a fixed precision (e.g. "10.2") float into an int (e.g. 102).
func ParseTempToIntShift ¶
ParseIntoIntShift parses a string containing a fixed precision (e.g. "10.2") float into an int (e.g. 102).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.