Y
Hacker News
new
|
ask
|
show
|
jobs
by
SekstiNi
1273 days ago
That would indeed be linear time, but he doesn't make that suggestion as far as I can see.
1 comments
gfd
1273 days ago
It's in the red inked code review image and it's in his rewrite as "source = source[:-2]"
link