emacs-devel
[Top][All Lists]
Advanced

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

Re: [RFC] bytecomp: simple source-level optimization


From: Andreas Röhler
Subject: Re: [RFC] bytecomp: simple source-level optimization
Date: Mon, 23 Jun 2014 11:09:50 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.6.0

On 23.06.2014 08:43, Dmitry Antipov wrote:
Source forms like:

(if (= (point) (point-min)) ...)

or:

(if (eq (point-max) (point)) ...)

are widely used,

Hi Dimitry,

IMHO a very useful move. However, as this is suboptimal style, probably
fixing the source --and spread the message-- is better than fixing it 
afterwards.

Fixing the sources will prevent beginners from learning suboptimal habits.

Thanks all,

Andreas



reply via email to

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