From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Stack-allocated objects again (+benchmark) Date: Tue, 30 Sep 2014 17:05:17 +0300 Message-ID: <83wq8lkxuq.fsf@gnu.org> References: <54290596.4060702@yandex.ru> <542A18E8.9030601@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412085956 3286 80.91.229.3 (30 Sep 2014 14:05:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2014 14:05:56 +0000 (UTC) Cc: dmantipov@yandex.ru, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 30 16:05:48 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 1XYy3n-0004nN-38 for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 16:05:47 +0200 Original-Received: from localhost ([::1]:43564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy3m-0005dw-J7 for ged-emacs-devel@m.gmane.org; Tue, 30 Sep 2014 10:05:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy3b-0005d5-Cx for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:05:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYy3V-0004Xm-H1 for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:05:35 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:49950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYy3V-0004VO-A6 for emacs-devel@gnu.org; Tue, 30 Sep 2014 10:05:29 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NCP00900WARL500@mtaout26.012.net.il> for emacs-devel@gnu.org; Tue, 30 Sep 2014 17:03:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCP004D9WDTTM50@mtaout26.012.net.il>; Tue, 30 Sep 2014 17:03:29 +0300 (IDT) In-reply-to: <542A18E8.9030601@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 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:174842 Archived-At: > Date: Mon, 29 Sep 2014 19:43:52 -0700 > From: Paul Eggert > > Dmitry Antipov wrote: > > 1) In r117971, I've made an attempt to follow KISS principle and > > redesign this stuff for simplicity and speed rather than versatility. > > Thanks for doing that, and for the benchmark. I found a couple of problems with > the patch, and thought of some ways to simplify it further and make it more > portable and a bit faster in many cases, and installed that as trunk bzr 117978. I think it would be beneficial to have some minimal explanations and instructions wrt when these "scoped" Lisp objects can/should and cannot/shouldn't be used. The current commentary doesn't explain enough about the difference between these "scoped" objects and the other kind, and I'm not sure we want the future hackers to try to guess that. TIA