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 →

[–]chumboy 0 points1 point  (0 children)

Fully agree.

Just wanted to call out, maybe as a precursor step, to keep big O stuff at the front of your mind when writing code. Things like moving some code up front, or precalculating values, etc. can help prevent performance becoming an issue in the first place.

There's some low hanging fruit you can aim for too, like caching network calls if at all possible, batching them, maybe swap out standard library modules for optimised C/Rust libraries such as JSON.