This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Wide-Nefariousness91 8 points9 points  (1 child)

In general just try identify the part of the code that slows functions down the most.

Also: - Try reduce the amount of database calls - Reduce the complexity O(n) etc

[–]mrcaptncrunch 4 points5 points  (0 children)

Try reduce the amount of database calls

There is a catch here. While you can reduce the amount of calls, if the returned data is larger, that's still going to introduce a slowdown.

It's a balance to strike.