rfc:grisu3-strtod
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:grisu3-strtod [2011/07/15 16:34] – dsp | rfc:grisu3-strtod [2011/07/15 16:41] – dsp | ||
---|---|---|---|
Line 24: | Line 24: | ||
Using grisu3 will speed up string to double and double to string conversions. In particular json_encode and json_decode | Using grisu3 will speed up string to double and double to string conversions. In particular json_encode and json_decode | ||
of json data includign doubles will be faster. Simple microbenchmarks show about 20% faster json_decode. | of json data includign doubles will be faster. Simple microbenchmarks show about 20% faster json_decode. | ||
+ | |||
+ | The library includes strtod (string to double) and dtoa (double to string) conversion methods. | ||
+ | zend_strtod and zend_dtoa will provide the same signature. The current algorithm will be moved to zend_strtod_dragon4.c | ||
+ | and the zend_strtod/ | ||
===== Common Misconceptions ===== | ===== Common Misconceptions ===== |
rfc/grisu3-strtod.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1