From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Fri, 22 Dec 2017 00:07:28 +0200 Message-ID: <47f2df18-7545-8bdf-3da8-8b780db4db95@yandex.ru> References: <20171129233237.27462.23351@vcs0.savannah.gnu.org> <83o9nexy48.fsf@gnu.org> <83d13uxug5.fsf@gnu.org> <41e3f343-816f-d2db-6575-6ef43d54957f@yandex.ru> <838tecuqjb.fsf@gnu.org> <83609etizl.fsf@gnu.org> <83wp1ts123.fsf@gnu.org> <1e8587a7-c98b-5183-3cfd-8e1034443f44@yandex.ru> <83shchrwia.fsf@gnu.org> <83lgi9ruo8.fsf@gnu.org> <01c15d4e-566b-3b7f-c4e6-6f199ba5bcc3@yandex.ru> <89c4a839-a124-a1a8-5cf9-583baf2b4dd6@yandex.ru> <0546455b-c757-5673-1888-66990127c7e6@yandex.ru> <8eb73f61-1ad0-da9c-98d9-36e30d86a7bf@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1513893984 17906 195.159.176.226 (21 Dec 2017 22:06:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 22:06:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 To: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 21 23:06:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS8ym-0004CI-QF for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2017 23:06:17 +0100 Original-Received: from localhost ([::1]:43904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS90k-0000ct-KW for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2017 17:08:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS906-0000cM-U7 for emacs-devel@gnu.org; Thu, 21 Dec 2017 17:07:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS903-00049w-PF for emacs-devel@gnu.org; Thu, 21 Dec 2017 17:07:38 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:34966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS903-00049O-Ha; Thu, 21 Dec 2017 17:07:35 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id f9so18581529wmh.0; Thu, 21 Dec 2017 14:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AGvohu8N+RHM869UtEmeJlsVky+UjJhZH7JSlJeZYts=; b=elfX/5dxqfbiDFKwS3KNBR2WfHzJ7zbLnzfuPCUosTn8r6/XNrNbE1IeBr99bOf0xe nhwnC6n2tc1acNM4k22uni2JqOBohv+QA9aaYUTGEU79WYg5TA9r1rqvPQB7flXQ2Siv QGS7RaUmTBddVE5w8mPPh6FXit3epa0JWadIk5pToth3kepg5lU2WRBzD6FNoXxHzjxz s1dZnHZABI8OdwWZChg367YrVLu8pBJBvdcL+EwtGnrDzQJi8d6cOJ/56C6QGS4sbP8Y UjdOB2lWodYNeW2pZq8uRFrD/+Nx7isLd+VgcGIWevCXk/NN7HNqYMpUHnLyrHgDw6wm kEEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AGvohu8N+RHM869UtEmeJlsVky+UjJhZH7JSlJeZYts=; b=AHhUkwJjOsKVoBNvA2SBLXcUZ3q38XEBndpC/MYh6GusQxMf6mcopNQzPwZZZ3Kmpm AO4V8U32aCAXRDwW6yAfqrjFtKOcIYv7ZUPOnzEh4OVs4ojKSqSSG5Mi8wM7cSNA8ddF zDdi/R44Cs13d9EEoLwShb/BSjfo+Hs17rR0Fpmul3hlgQ8b369TMxQzF8cARdSqr4ot ahDLXBiXCIKNqcqBhSOxASbRaFDc3iOyyvFyf7TswZ14h8bERVazhvGcPSgD1AW4cvpz W2ypiRPcGFqw/wg5lZ7BHBfej9B3qStmlMWB5u7mtPEk4ufjZjP/0/2QZWK8ax0K5Dav GLgQ== X-Gm-Message-State: AKGB3mKQAiMM+vISjkUhMqUbi5a3NseDdoTWfEcDEx1XY96MmbJ2npSD zMQcNCuVMwYpm9SffE5S02jB+y2b X-Google-Smtp-Source: ACJfBostaQnSnhdsBbkpapa80gm/WpyTHbwW5aoOt1WeS6H2cezJiG2EDXbNoXbpKyvjAeozqSAOVA== X-Received: by 10.80.148.163 with SMTP id s32mr12259131eda.74.1513894054011; Thu, 21 Dec 2017 14:07:34 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id k42sm17741985edb.94.2017.12.21.14.07.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 14:07:32 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:221322 Archived-At: On 12/21/17 3:33 AM, John Wiegley wrote: > And I wouldn't really call using define-inline instead of defun for > tiny functions "premature optimization" in cases like these. You're not > changing the semantics of the function, just indicating it's small enough that > it should be inlined when byte-compiling. And you know the number of call > sites too, so it won't cause code bloat. When it's that harmless, I usually do > it as a matter of convention in my own code. It's simply extra work. Also see what the manual says: https://www.gnu.org/software/emacs/manual/html_node/elisp/Inline-Functions.html, "you should not make a function inline...".