logoalt Hacker News

raw_anon_1111today at 12:24 PM1 replyview on HN

Those bugs don’t come from using the wrong algorithm, they come from not understanding the business case of what you’re writing. Most performance issues in the real world for most cases don’t have anything to do with the code. It’s networking, databases, etc.

Your login isn’t slow because the developer couldn’t do leetcode


Replies

tracker1today at 3:24 PM

No, it's because 50k reads of settings are happening with a SQL Table in memory that's queried via SQL statement instead of a key/value hashtable. (real world experience, I think it was close to 28k reads, but the point stands)