HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by _xnmw | Hacker News Reader
Parent
Full thread
_xnmw
·
Len() and str() are a loop under the hood.
View on HN
emidln
·
len() is an O(1) lookup of the stored length on the unicode/bytes object in Python.
Reply on news.ycombinator.com