Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
turndown
on June 30, 2021
|
parent
|
context
|
favorite
| on:
Learn by reading code: Python standard library des...
Perhaps it's cheaper to just get the conversion and length check out of the way rather than have to execute _sum and find out from checking T.
abecedarius
on June 30, 2021
[–]
But the path where the cost of _sum is extra is the error path; plus that'll end up being 0 iterations anyway.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: