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: Stefan Monnier
Subject: bug#17514: 24.3.91; enhancement: byte-optimize looking-at-p
Date: Fri, 16 May 2014 18:42:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> 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]