From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Split `simple.el'? Date: Wed, 04 Apr 2018 22:08:39 +0300 Message-ID: <83vad63i2w.fsf@gnu.org> References: <5f1e960c-483f-4902-b4c2-b7a4ca3b04f4@default> <10c96362-297f-db97-d4a9-da3d66d4dd34@cs.ucla.edu> <83d0zf4g8d.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522868829 15913 195.159.176.226 (4 Apr 2018 19:07:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2018 19:07:09 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 21:07:05 2018 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 1f3nkP-00042n-Dh for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 21:07:05 +0200 Original-Received: from localhost ([::1]:51657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3nmU-00014O-RQ for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 15:09:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3nln-0000zZ-EW for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:08:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3nlj-0006TB-W4 for emacs-devel@gnu.org; Wed, 04 Apr 2018 15:08:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3nlj-0006T7-SN; Wed, 04 Apr 2018 15:08:27 -0400 Original-Received: from [176.228.60.248] (port=1521 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f3nlj-0000ek-Ce; Wed, 04 Apr 2018 15:08:27 -0400 In-reply-to: (message from Paul Eggert on Wed, 4 Apr 2018 10:20:13 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:224323 Archived-At: > Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org > From: Paul Eggert > Date: Wed, 4 Apr 2018 10:20:13 -0700 > > On 04/03/2018 11:50 PM, Eli Zaretskii wrote: > > I don't immediately > > understand why would it be a hot spot when looking for fonts. > > I don't either. However, when I profiled it on Fedora 27 (a low-level > profile, with --enable-profiling) it was a hotspot. Does setting inhibit-compacting-font-caches non-nil changes anything in this regard? > Although I am not > observing the same horrible slowdown that Drew is (that is, first > display of password-word-equivalents help is noticeably slower than for > typical variables but it is not *horribly* slow), I'm suspicious of > free_realized_fontsets, which is why I suggested that he comment it out. If some of the characters there end up being displayed as squares with hex codepoints, i.e. you have no fonts capable of displaying them, then this is expected. I see this on my system as well, and I'm not surprised. > We should move password-word-equivalents to an i18n-related file anyway > (that is, regardless of Drew's problem), as password-word-equivalents > doesn't belong in simple.el. That's a separate issue, and will just move the problem from one file to another.