Skip to main content
25 events
when toggle format what by license comment
May 23, 2017 at 12:38 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Mar 20, 2017 at 9:34 history edited CommunityBot
replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
May 25, 2016 at 21:34 history edited Peter Cordes CC BY-SA 3.0
added 536 characters in body
May 25, 2016 at 0:52 comment added Marc.2377 I wish SO markdown allowed collapsible sections Please vote here: Collapsible Code Markup
May 24, 2016 at 12:26 history edited Peter Cordes CC BY-SA 3.0
link update
May 24, 2016 at 10:01 comment added Peter Cordes @Trilarion: You need some kind of code or at least description of what kind of code. Otherwise the right response would a link to agner.org/optimize and a downvote for "lack of research effort". And probably also a too-broad close reason. I mean, code can be memory-bound, or bottlenecked on one of many other things microarchitectural things. The kind of "more specific" that I was hoping for wouldn't invalidate the answers. I'm not keen on the question being changed to include some specific de-optimization attempts, since the starting code is nice and short.
May 24, 2016 at 9:50 comment added NoDataDumpNoContribution Editing the question and making it more specific is surely a good way. But then, what to do with the existing answers? I would leave it closed and start again with a better, more localized question. Maybe even leave the code out and first ask for possible de-optimizations of the microarchitecture. Then asking for each of these if they can be applied to the code. Would give very clear Q&As.
May 24, 2016 at 3:23 history edited Peter Cordes CC BY-SA 3.0
added 232 characters in body
May 24, 2016 at 3:01 history edited Peter Cordes CC BY-SA 3.0
respond to the "long answer implies too broad" claim.
May 23, 2016 at 22:52 comment added Peter Cordes @Matsmath: This specific question is definitely not computer science. I've had positive responses to my detailed and technical answers on other questions, even though they're long, so I don't think that's the problem. All the real objections are to the question, which is problematic. Some people have used answer-length as a metric for too-broad, but that's bullshit because I could find 15k chars of stuff to say about performance considerations for a lot of SO questions. I look at it as "a detailed answer only took 2/3rd of the allowed space". :P
May 23, 2016 at 22:38 comment added Matsmath Perhaps this is just not the right forum anymore for out-of-the-box questions and detailed, multi-aspect answers. This being said, I am not quite sure what other forum would welcome such posts. Perhaps CS.SE?
May 23, 2016 at 20:41 history edited Peter Cordes CC BY-SA 3.0
added 363 characters in body
May 23, 2016 at 13:30 history edited Peter Cordes CC BY-SA 3.0
added 107 characters in body
May 23, 2016 at 13:21 comment added Cody Gray Mod Better ask on the Code Review Meta site if they're okay with "deoptimizing" questions. That may not be their cup of tea. Aside from that, I think (as you have said before) that this is an Intel microarchitecture question in disguise, which is a better fit for Stack Overflow. I also don't really like the implicit suggestion to migrate this question to another site just because it makes certain people "feel funny." If it truly runs afoul of our guidelines, it should be closed outright, not pawned off on our neighbors. Of course, I don't think it does, it just caught someone's Monday morning ire.
May 23, 2016 at 13:15 comment added Peter Cordes @Cerbrus: It might be a better fit there. There are convincing arguments that "help me optimize this code" questions belong on codereview. I'm kind of resistant to that because codereview usually focuses most on human readability aspects of code quality, not on performance. (and the chicken-and-egg problem of having most of the existing x86 asm / performance stuff on SO, but that's not a good argument.)
May 23, 2016 at 13:04 history edited Peter Cordes CC BY-SA 3.0
added 209 characters in body
May 23, 2016 at 12:58 comment added Cerbrus Peter, what do you think about migrating it to code review? Maybe that's a good alternative?
May 23, 2016 at 12:57 comment added Peter Cordes @Cerbrus: I reworded my answer to say "interesting to enough people", since most people don't actually delve into microarchitectural details. I agree it's of niche interest, but it absolutely is interesting to those of us who like this sort of thing. De-optimizing is a novel challenge.
May 23, 2016 at 12:55 history edited Peter Cordes CC BY-SA 3.0
interesting to *enough* people, not most.
May 23, 2016 at 12:38 comment added Cerbrus Discussion on other forums is pretty irrelevant here. Different rules, different crowd. How many of those 163 upvotes come from users that don't regularly visit SO? How many of those upvotes are just joining in upvoting an exceptionally high voted Q/A pair? If the question were actually good, it'd have gotten 10 times the amount of upvotes.
May 23, 2016 at 12:34 comment added Peter Cordes @Cerbrus: I say that because I found it interesting, and so did the many other people that left comments with ideas, or discussed their ideas (and actual experimental timing results) on other forums. Also, the ratio of up to down votes on the question is currently 163:7. My answer has attracted only 2 downvotes so far, so clearly out of people that did vote, the response has been much more positive than negative. (I know more people upvote more often than they downvote, and many people decided it wasn't worth an upvote.)
May 23, 2016 at 12:29 history edited Peter Cordes CC BY-SA 3.0
added 171 characters in body
May 23, 2016 at 12:26 comment added Cerbrus "interesting enough to most people to be an exception to the general rule". What makes you say that? Out of 20k visitors, only 100 (0.05%) favorited it. 0.75% upvoted it. Those are really insignificant numbers. Reddit doesn't provide a snapshot of the linked page, so a person will have to visit the page to see if he finds it interesting or not.
May 23, 2016 at 12:13 comment added Cerbrus "I tend to write long/detailed answers" Ya don't say ;-) (Not my -1)
May 23, 2016 at 12:11 history answered Peter Cordes CC BY-SA 3.0