ow Integers Should Work

Walter Bright newshound2 at digitalmars.com
Mon Dec 5 23:16:38 PST 2011


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




More information about the Digitalmars-d mailing list