News for hackers. Stuff that matters.
Re:Ask HN: starting a career in software dev in my thirties,... by ciupicri on Friday October 22, 2010 @11:34AM (#1820025)
You don't need to do `list(s.lower())`, you can already iterate over a string. Also, instead of converting the whole string to a new lowercase one, which means allocating "a lot" of memory, you can convert each character separately as needed.

There are no comments on this comment yet.