Skip to content

Comment on Never create Ruby strings longer than 23 charactersparent

Comments

>> I have to disagree with your attitude toward optimisations > How can you, you don't know it?

This bit

> Computers go unimaginably fast now. Really. Humans can't intuitively comprehend how fast it is.

seems to imply that you think computers are so fast that performance shouldn't be more than an afterthought.

I'll repeat myself: I don't think anyone should explicitly try to exploit this implementation detail. It's just that you seemed to dismiss all performance considerations.

> When optimizing, you should be hand optimizing only the hotspots, not the rest. This article is talking about something that has almost no chance of being the hot spot, and acts like it's essential to never do it.

No, it doesn't. The first paragraph starts with "Obviously this is an utterly preposterous statement: it’s hard to think of a more ridiculous and esoteric coding requirement."

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.