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

It's in the red inked code review image and it's in his rewrite as "source = source[:-2]"