From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Split `simple.el'? Date: Wed, 4 Apr 2018 10:20:13 -0700 Organization: UCLA Computer Science Department Message-ID: References: <5f1e960c-483f-4902-b4c2-b7a4ca3b04f4@default> <10c96362-297f-db97-d4a9-da3d66d4dd34@cs.ucla.edu> <83d0zf4g8d.fsf@gnu.org> 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 1522862306 21311 195.159.176.226 (4 Apr 2018 17:18:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2018 17:18:26 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 19:18:22 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 1f3m3B-0005Rm-SA for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 19:18:21 +0200 Original-Received: from localhost ([::1]:44840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3m5H-0000kp-AE for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2018 13:20:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3m5B-0000kd-IW for emacs-devel@gnu.org; Wed, 04 Apr 2018 13:20:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3m5A-0000ir-OZ for emacs-devel@gnu.org; Wed, 04 Apr 2018 13:20:25 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59814) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3m56-0000hU-5E; Wed, 04 Apr 2018 13:20:20 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5404616160F; Wed, 4 Apr 2018 10:20:18 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VqRxr8lEcltZ; Wed, 4 Apr 2018 10:20:17 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 681AF16161E; Wed, 4 Apr 2018 10:20:17 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vsMXop8k26or; Wed, 4 Apr 2018 10:20:17 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 4E9C7161619; Wed, 4 Apr 2018 10:20:17 -0700 (PDT) In-Reply-To: <83d0zf4g8d.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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:224321 Archived-At: 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. 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. 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.