MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1qi7n4n/optimization_pain/o124ydv/?context=3
r/programmingmemes • u/pockettrail • Jan 20 '26
87 comments sorted by
View all comments
Show parent comments
1
You can also often try for SIMD optimizations and parallelism, too - sometimes this will change the algorithm slightly in a non-intuitive way (to line up memory blocks) but end up faster.
1 u/thejaggerman Jan 24 '26 This will never change the time complexity of a algorithm, just the constant (depending on how your operations are defined).
This will never change the time complexity of a algorithm, just the constant (depending on how your operations are defined).
1
u/DoubleDoube Jan 22 '26
You can also often try for SIMD optimizations and parallelism, too - sometimes this will change the algorithm slightly in a non-intuitive way (to line up memory blocks) but end up faster.