Thread: How to trash your code quality with awful hacks to make up for LLVM being so much worse than GCC.https://twitter.com/chandlerc1024/status/918034746587803648 …
-
Show this thread
-
Replying to @RichFelker
I would consider a number (not all) of
@chandlerc1024's suggestions improvements to code quality. Move rarely-used paths out-of-line? Great!4 replies 0 retweets 6 likes -
Replying to @stephentyrone @chandlerc1024
Unless already tightly coupled, putting code in headers is usually a big offense. Factoring based on perf rather than logic even moreso.
2 replies 0 retweets 1 like -
Rich Felker Retweeted Chandler Carruth
Making silly transformations the compiler should be able to make can also be uglifying/obscuring:https://twitter.com/chandlerc1024/status/918037668436500480 …
Rich Felker added,
2 replies 0 retweets 1 like -
I’m surprised it doesn’t do this one already.
1 reply 0 retweets 1 like
If x and y have no other uses, it's disturbing that the two variants could produce different output at all; should collapse early to same.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.