News for hackers. Stuff that matters.
Re:Why is this C++ code faster than my hand-written assembly... by mark-r on Tuesday August 22, 2017 @02:19PM (#15075062)
That was my point, I'm not expending cycles choosing between ++x and x++. I've just chosen a different default than most of the code I've seen, and you still need to realize when the default doesn't do what you want - but that's usually obvious.

Sorry to hear about your unsuccessful projects, that's a bummer. I hope that premature optimization wasn't a major part of the blame for any of them.

Re:Why is this C++ code faster than my hand-written assembly... by ben0x539 on Tuesday August 22, 2017 @02:43PM (#15075258)
It's so irritating that golang has x++ but not ++x. I never remember until shit isn't compiling. Grr!