<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua-cjson/tests/numbers.json, branch or-1.31.0</title>
<subtitle>A mirror of https://github.com/openresty/lua-cjson
</subtitle>
<id>https://git.lua4.win/lua-cjson/atom?h=or-1.31.0</id>
<link rel='self' href='https://git.lua4.win/lua-cjson/atom?h=or-1.31.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/'/>
<updated>2012-03-04T08:24:34+00:00</updated>
<entry>
<title>Limit significant digits in numbers.json to 14</title>
<updated>2012-03-04T08:24:34+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2012-01-03T11:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=314f0d0675d8fdfdab3c44afd2ce7d6af8c05a46'/>
<id>urn:sha1:314f0d0675d8fdfdab3c44afd2ce7d6af8c05a46</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add support for runtime number precision config</title>
<updated>2011-05-29T08:33:22+00:00</updated>
<author>
<name>Mark Pulford</name>
<email>mark@kyne.com.au</email>
</author>
<published>2011-05-29T08:33:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua-cjson/commit/?id=3d1c5e19f45cf484774926ba6e2555d1c8e4c39b'/>
<id>urn:sha1:3d1c5e19f45cf484774926ba6e2555d1c8e4c39b</id>
<content type='text'>
Add cjson.encode_number_precision(). Reducing the number precision from
14 to 3 can increase performance up to 50% with number heavy
conversions.
</content>
</entry>
</feed>
