this post was submitted on 18 Feb 2024
705 points (99.9% liked)

196

16552 readers
1806 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Killing_Spark@feddit.de 5 points 9 months ago (1 children)

Go with -Os to optimise for codesize

[โ€“] barsoap@lemm.ee 2 points 9 months ago* (last edited 9 months ago)

Often faster anyways as the CPU is eating through instructions faster than the RAM can keep up with. May or may not require compiling as x86-64-v2, depending on code. In general, never trust performance you didn't benchmark.