[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r114593: * lisp.h (eassert): Don't use 'assume'.

From: Stephen J. Turnbull
Subject: Re: [Emacs-diffs] trunk r114593: * lisp.h (eassert): Don't use 'assume'.
Date: Fri, 11 Oct 2013 17:59:29 +0900

Daniel Colascione writes:

 > I'd actually argue that you should almost always combine assert and 
 > assume. You've gone through the trouble of spelling out constraints on 
 > program execution: why not let the optimizer take advantage of that 
 > information?

I'd say +1 except that apparently optimizers are sufficiently stupid
as to compile worse code when assume is present (at least that's what
Paul seemed to claim).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]