Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_v7gu
· 6y ago · 0 comments
That’s just wrong. JS uses ropes for the string implementation, so even the inefficient left padding is O(n).
Comments
[–]
throwsprtsdy
6y ago
You're right. I'd correct my original post if I could. I stand by my point but I chose a terrible example.