Vinod Sebastian – B.Tech, M.Com, PGCBM, PGCPM, PGDBIO

Hi I'm a Web Architect by Profession and an Artist by nature. I love empowering People, aligning to Processes and delivering Projects.

Advertisements

Performance Thumb Rules

  • Cache variables: Storing frequently accessed data in memory can significantly improve performance by reducing the need to recalculate values.
  • Move max code out of loops: In order to enhance performance, it is important to minimize the amount of code within loops, especially repetitive calculations or function calls.
  • Factoring control statements: Refactoring control statements such as loops and conditionals can lead to more efficient code execution and better performance.
  • Use switch statements: Switch statements are often more efficient than nested if-else statements, especially when dealing with multiple conditional branches.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x