TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

For case-insensitive string comparisons, avoid char-by-char functions

1 pointsby flipchartabout 5 years ago

1 comment

robalniabout 5 years ago
This is not only important for string comparisons. I think in general if you have a loop that needs to run really fast you should avoid calling functions inside that loop that might not get inlined, like the standard library functions.