On 12/5/2011 8:48 PM, Andrei Alexandrescu wrote:
On 12/5/11 10:15 PM, Walter Bright wrote:
On 12/5/2011 8:10 PM, bearophile wrote:
This is not about integers but yeah, I'd like the better str<-> float
conversions of Python in D too.
Do you have any test data that they actually are better in Python (apart
from just being better specified)?
I can tell Google's double-conversion routines (http://goo.gl/RU5g4) are faster
than sprintf/sscanf, in addition to being better specified. We use them at
Facebook.
Darn, licensing problems:
"Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution."
http://www.opensource.org/licenses/bsd-license.php