The good rule to remember about this is: if you cannot measure the suspected performance problem with the code, do not attempt to optimize it.
If you are optimizing before executing the code, chances are you are doing it prematurely. There is also a big chance that the optimization you are investing your time in is completely unnecessary.
594
1.71K reads
CURATED FROM
IDEAS CURATED BY
The idea is part of this collection:
Learn more about computerscience with this collection
Find out the challenges it poses
Learn about the potential impact on society
Understanding the concept of Metaverse
Related collections
Similar ideas to Obsessing About Performance
If the author of that code is long gone or cannot remember it, research that code and try to understand everything about it.
Only when you completely understand the code you get to form an opinion whether it is bad or good. Do not assume anything before that.
You are paid in proportion to the perceived value of your work. Not based on how hard you work: A handyman may work hard, but his work is easily replaceable so he will make less money than a lazy accountant.
The most valuable employees are the ones working on the ...
Remember that you’re pitching for investors to put money into a fantastic new business or product that is going to result in great returns for them. Go into meetings or online chats with an attitude that says this is a great opportunity for the investor. You don't want to come off like yo...
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates