• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: September 27th, 2023

help-circle

  • If that’s a genuine non-sarcastic question that isn’t whooshing me then no - there can be other things like memory/disk usage… but if I’m optimizing for CPU I want it to use less overall cycles. It may be that the easiest fix is to throw money at the problem (always a fair option) which would mean getting a beefier/more processor cores to make the performance acceptable but this would usually just shift how cycles are being used to process them faster.

    My joke above was that it’d use more total cycles which actually is generally the case if you’re solving a problem by throwing resources at it (since you’re likely incurring more overhead) but generally when you optimize you want to reduce the total number of cycles by somehow locating and eliminating work that doesn’t need to be done.