HNHacker News
TopNewBestAskShowJobs

karroum

190 karma · joined November 15, 2020

submissionscomments
karroum··on The true cost of linked lists
I agree plots would be nicer (maybe I'll add them) regarding the last column it's the number of iterations, google benchmark will make less iterations if individual iterations take more time.
karroum··on Python Internals Serie: Int (Long) Object
I meant series, I tought serie was the singular. But as pointed out by this issue : https://github.com/ukarroum/ykarroum-blog/issues/1, it's not.
karroum··on Python Internals Serie: Int (Long) Object
Thank you for your clarification/correction !

I'll update the article.

karroum··on Python Internals Serie: Int (Long) Object
According to this comment : https://stackoverflow.com/a/42777910/14517936

sys.maxsize is the maximal number of digits a _long_ in python may have.

the `10*sys.maxsize` was just an example to show that, even in Python, long objects have a limit (although very big : 10*9223372036854775807 on 64 bits).

I honestly didn't wait to see if the interpreter will effectively complain about its size (it takes why too much time).

EDIT : According to gvx's comment those limits are not correct (sys.maxsize is not technicaly the max of digits possible, due to a bad interpretation of what Py_Size means on my side)