Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Limit significant digits in numbers.json to 14 | Mark Pulford | 2012-03-04 | 1 | -6/+6 |
| | | | | | | The dtoa.c strtod() function slows down significantly when the number of digits exceeds the accuracy of a "double". JSON containing excessive digits is an unrepresentative test, limit to 14 digits. | ||||
* | Add support for runtime number precision config | Mark Pulford | 2011-05-29 | 1 | -0/+7 |
Add cjson.encode_number_precision(). Reducing the number precision from 14 to 3 can increase performance up to 50% with number heavy conversions. |