Talk:Count the coins: Difference between revisions

Line 2:
 
The previous claim of Python/psycho being faster than D was a little curious. Could it be because the D code uses bigint throughout, while python will only switch to bigint when the values exceed 64 bits? If so, that's another reason to not make speed comparisons. --[[User:Ledrug|Ledrug]] 07:22, 30 October 2011 (UTC)
:why not? the only reason not to make such comparisons it to avoid getting into a depatedebate about it.
:otherwise if one version is faster than another it is useful to know. even better would be though to also understand why. can the D version be rewritten easily to not use bignum for smaller values? if not then that is an important point to understand when comparing languages. people claim that C is faster, (i don't know about D) but they forget to explain that in order to get the faster speed you also have to know how to take advantage of that. so if the comparison shows that python is faster for naive code then i think that is something useful.--[[User:EMBee|eMBee]] 09:25, 30 October 2011 (UTC)
::that said, the python speed comparison involves psyco which is not a standard part of using python, the same comment could be made about many examples. therefore i am not sure if such comments are adding any value unless the task involves solving a problem efficiently.--[[User:EMBee|eMBee]] 09:38, 30 October 2011 (UTC)
Anonymous user