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

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

bug#17514: 24.3.91; enhancement: byte-optimize looking-at-p


From: Shigeru Fukaya
Subject: bug#17514: 24.3.91; enhancement: byte-optimize looking-at-p
Date: Sat, 17 May 2014 22:06:23 +0900

I should concentrate on explicit bugs only, maybe.

Thank you.


>> I think (looking-at-p "a") can be safely optimized to
>> (eq (following-char) ?a).
>> I found there are 8 such codes in the current trunk, and some more possibly
>> changable to looking-at-p from lookin-at.
>
>I don't think it's worth the trouble.  Better just rewrite those
>8 occurrences.
>
>
>        Stefan





reply via email to

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