emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#17584: closed (24.3.91; bug of `=' operator optimi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17584: closed (24.3.91; bug of `=' operator optimization)
Date: Mon, 26 May 2014 20:55:02 +0000

Your message dated Mon, 26 May 2014 16:54:33 -0400
with message-id <address@hidden>
and subject line Re: bug#17584: 24.3.91; bug of `=' operator optimization
has caused the debbugs.gnu.org bug report #17584,
regarding 24.3.91; bug of `=' operator optimization
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17584: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17584
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.91; bug of `=' operator optimization Date: Sun, 25 May 2014 12:05:07 +0900
(byte-optimize-form '(lambda (a b) (= a b 0)))
==> (lambda (a b) (= a b 0))
(byte-optimize-form '(lambda (a b) (= 0 a b)))
==> (lambda (a b) (= a 0))

- (put '=   'byte-optimizer 'byte-optimize-binary-predicate)
+ (put '=   'byte-optimizer 'byte-optimize-predicate)


-- Shigeru



--- End Message ---
--- Begin Message --- Subject: Re: bug#17584: 24.3.91; bug of `=' operator optimization Date: Mon, 26 May 2014 16:54:33 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
> The following is a code with a little more optimized than
> byte-optimize-predicate.  It can be used by `<', `<=', `>', `>='.

Here I also doubt it's worth the trouble: the "multiple arg" version of
those predicates was only added recently so it's not used very often,
and of those cases I doubt many of them would benefit from
your optimization.

So I installed a simpler patch which just fixes the bogus optimization
when there are more than 2 args.


        Stefan


--- End Message ---

reply via email to

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