Deleting or commenting out code and seeing if things get any faster is one of the easiest ways to assess if an optimization effort might be worth it.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Mohit Sindhwani

@nateberkopec
It's also sometimes a good way to estimate the best you can do. Suspect a method is really slow? Comment it out and see how much faster you could go. If it's not as much as you expected, put it back and focus elsewhere.

0
1y
Replies