[LLVMbugs] [Bug 15552] Poor constexpr performance vs gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 20 11:43:10 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15552

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang's constexpr implementation does not perform caching. In C++14, it's not
even clear whether caching will be possible, so it seems like a waste of time
to invest in it now.

Instead, I suggest you remember that constexpr functions can also be used at
runtime, and try not to write functions with exponential runtime.

*** This bug has been marked as a duplicate of bug 12850 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130320/bdb258be/attachment.html>


More information about the llvm-bugs mailing list