News for hackers. Stuff that matters.
Re:C++ Pattern Matching Proposal [pdf] by huhtenberg on Saturday January 04, 2020 @05:09AM (#21954014)
How is basic loop unrolling is "not even close" to the expected result when you explicitly ask for optimization with O3?
Re:C++ Pattern Matching Proposal [pdf] by umanwizard on Saturday January 04, 2020 @08:58AM (#21954916)
This isn’t basic loop unrolling; it’s replacing an entire loop with a closed form mathematical formula.
Re:C++ Pattern Matching Proposal [pdf] by huhtenberg on Saturday January 04, 2020 @09:54AM (#21955152)
It's a form of loop unrolling. Regardless of the term, this is still very much in the ballpark of what you'd expect when asking for optimization.