Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am on my phone and cannot test this, but the try:except: construct is optimised for the non-exceptional path. The latter is probably faster for x[0] than x[20].


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: