From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Proposal to change cursor appearance to indicate region activation Date: Thu, 29 Jan 2015 10:46:04 +0000 Message-ID: References: <87zj93ayrr.fsf@fencepost.gnu.org> <874mrbcflj.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422528449 29560 80.91.229.3 (29 Jan 2015 10:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 10:47:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 11:47:28 2015 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 1YGmdE-0002HY-A8 for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 11:47:28 +0100 Original-Received: from localhost ([::1]:58849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGmdD-0003O2-Iq for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 05:47:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGmd9-0003Nu-AY for emacs-devel@gnu.org; Thu, 29 Jan 2015 05:47:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGmd8-0002Dm-Fv for emacs-devel@gnu.org; Thu, 29 Jan 2015 05:47:23 -0500 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:34744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGmd3-0002AM-4l; Thu, 29 Jan 2015 05:47:17 -0500 Original-Received: from mfilter37-d.gandi.net (mfilter37-d.gandi.net [217.70.178.168]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id C00D8FB8A4; Thu, 29 Jan 2015 11:47:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter37-d.gandi.net Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter37-d.gandi.net (mfilter37-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Ffb+jeWMskbv; Thu, 29 Jan 2015 11:47:11 +0100 (CET) X-Originating-IP: 66.220.3.179 Original-Received: from localhost (gm179.geneticmail.com [66.220.3.179]) (Authenticated sender: kelly@prtime.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C3632FB8BF; Thu, 29 Jan 2015 11:47:09 +0100 (CET) In-Reply-To: <87zj93ayrr.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::198 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:181970 Archived-At: David Kastrup wrote: > As to the varhook feature itself: apart from the performance impact, it > also has the problem that one cannot usefully manipulate such a varhook > using add-hook or remove-hook. That makes it a feature that does not > scale to multiple applications (like variable profiling). You can have multiple functions watch a symbol, and a function that watches multiple symbols. I don't understand the use case you're talking about that the varhook feature won't work for. Can you explain? > Aaaand another data point. You put in a fast access path for the case > where the symbol has no properties. However, if I do [snip] > So 76% of all variable accesses will be slowed down searching for the > varhook property. That seems expensive. You're right. I've fixed it so property lists will no longer impact the speed, but I guess that doesn't matter if Stefan vetoes the feature.