logoalt Hacker News

esttoday at 2:31 AM1 replyview on HN

I am curious, why not .lower().translate('_.', '--')


Replies

fwiptoday at 3:14 AM

.lower() has to handle Unicode, right? I imagine the giant tables slow it down a bit.