Project

General

Profile

« Previous | Next » 

Revision af799140

Added by byroot (Jean Boussier) 6 months ago

[ruby/json] Favor decimal notation over scientific notation for floats

e.g.

JSON.dump(1746861937.7842371) 

master:

"1.https://github.com/ruby/json/commit/746861937784+9" 

This branch and older json versions:

https://github.com/ruby/json/commit/1746861937.7842371 

In the end it's shorter, and according to canada.json benchmark
performance is the same.

https://github.com/ruby/json/commit/866f72a437