Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Don’t kick yourself, at least you didn’t break anything. My guarantee to employers is this and only this: after I’m done, it will only be as broken as it was when I got it— no more, but hopefully less.
-
pk7611705y@gaffletron oh I ain't. Thing is, it means there's no more performance to be squeezed out doing what I did, so optimizations are found elsewhere. I still wound up narrowing the scope where I can make potential progress much closer to where I can make actual progress.
-
well... you found another equally valid way to solve the same problem. i'd call that a small success.
-
pk7611705y@Midnigh-shcode yeah, but it was also twice the SLOC, so considering it otherwise performed nearly identical, it's objectively worse.
-
@pk76 Not quite.
1. measure BEFORE (profile)
2. find spots where improvements could be made (reuse objects, cache in-mem, change data structure implementations, redo the logic, parallel calculations, etc.)
3. make a dirty PoC
4. measure AFTER
5. compare which PoCs have made positive changes
6. rewrite code to install those PoCs nicely
You can make rough estimates at #2 if you know what you are doing :) Rewriting the whole thing just to test is a bad move.
The four day rewrite of my codebase did... nothing...
No improvement. No detriment.
Just nothing...
Okay then.
rant