Hacker News new | ask | show | jobs
by dcrosta 5115 days ago
Great catch. If you want to submit a pull request on github you can get the credit -- github.com/dcrosta/xrange
2 comments

A related nitpick: since Python's integers are arbitrary size, technically operations like - and / are not constant time, so your claim of an implementation "with constant-time and constant-space operations" is not true.

However, I understand if that complaint is just too nitpicky for you to want to mention it. Great post btw.

Thanks for the consideration, but I don't really use github, so you go ahead and take the credit yourself.
OK, thanks. Updated in github and on the blog.