From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.devel Subject: Re: [RFC] bytecomp: simple source-level optimization Date: Mon, 23 Jun 2014 11:09:50 +0200 Message-ID: <53A7EEDE.2050506@online.de> References: <53A7CCAB.7020807@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403514664 10230 80.91.229.3 (23 Jun 2014 09:11:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 09:11:04 +0000 (UTC) Cc: Dmitry Antipov To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 11:10:57 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wz0H9-0006Ck-Pg for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 11:10:55 +0200 Original-Received: from localhost ([::1]:52215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz0H9-0005DI-6b for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 05:10:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz0Gx-0005D4-OW for emacs-devel@gnu.org; Mon, 23 Jun 2014 05:10:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz0Gn-000559-9j for emacs-devel@gnu.org; Mon, 23 Jun 2014 05:10:43 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:52154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz0Gm-00054f-DZ for emacs-devel@gnu.org; Mon, 23 Jun 2014 05:10:32 -0400 Original-Received: from [192.168.178.32] (brln-4d0c33a4.pool.mediaWays.net [77.12.51.164]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0Lc873-1WFSFj3qGD-00jZ9s; Mon, 23 Jun 2014 11:10:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.6.0 In-Reply-To: <53A7CCAB.7020807@yandex.ru> X-Provags-ID: V02:K0:VqWlBLszEI5CnrOWELfMMd3O31zmZXGv8wW9OCfdAoW mZMmUurbGwxrhPXjQV4OYKhjK7rUmnFLVRnUcmcFpI8+S1SXgK VkWWthdnSevHq9ovNNOJrGkHM+OTmiqt3eOlVnCtibwk0gYHsr Y5Rc/FGKPqAjfgryEZ2wsGytDRwlWaUIWqkdGwd4UGr3bXdlxd PXKSycS8BlMAlWTOsRvBTBsriF0VCN+1Bmj/tTZqTGuOwm6wwF 5ilOGViLaeyC++xV50T6Fsq3SF8dHjZpX1DR9WZPmicXyOlfpX o9oMcELcJ1zMaeA2F1xdu7vbzUgxBKiTX7WPX2WJVb+dFBgeb/ 2eosIY+ZDbOB+Z7p4TLo9DmfELqzlivzFPvBANoyv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172646 Archived-At: 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