From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Run `M-x list-input-methods` and then scroll down the screen in input method panel using the mouse or arrow key will cause Emacs unresponsive for about 1 minite. Date: Sat, 19 Jun 2021 21:42:09 +0800 Message-ID: References: <837diqxty3.fsf@gnu.org> <8335texrxf.fsf@gnu.org> <83wnqqw69t.fsf@gnu.org> <83v96aw4ql.fsf@gnu.org> <83tuluw3fn.fsf@gnu.org> <83sg1ew2bs.fsf@gnu.org> <83r1gyw244.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1273"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 19 15:43:39 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lubG7-0000Ao-F5 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 15:43:39 +0200 Original-Received: from localhost ([::1]:49316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lubG5-0006lu-Hf for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 09:43:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lubF4-0004aN-Mu for emacs-devel@gnu.org; Sat, 19 Jun 2021 09:42:35 -0400 Original-Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:37695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lubEt-00086F-AB; Sat, 19 Jun 2021 09:42:33 -0400 Original-Received: by mail-qk1-x731.google.com with SMTP id g142so18311805qke.4; Sat, 19 Jun 2021 06:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I2Yq33SYAx7SBTQDCAC4a9mIS1hJ9b104rfwWtOFPGw=; b=FpBqqZakTB6ZMqRxRXYFQ60XKdcXrMubPBLQyUNBvhevw7gTY34pp7X+zeBLvJ7hIP G+9VUcEMnbmBePNjFvh+K+ELpfXnF9v3Gw77QsWvryhEqjtuDj6RMCN5YUS07WNZYDzE b4XKyhM2Rv445EqF7f+o8dlXrIWMB2uxHHwJnomwHcCsoHY3GiV+M/D49puhSr8K+AQi mfNR2i9kNu5ML5qYXL89GxP1TGlT0Ft5b0UEPxxB4WUuTIvwLoDb3FvWkTDgGkGgFR/O Ajgm+JgpQOy2N9dlTTkZ9YS50xJm4PpqmxM3Ei14JW71mBL/YFcpnn8XhG2dp29wr0Ne 2mVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I2Yq33SYAx7SBTQDCAC4a9mIS1hJ9b104rfwWtOFPGw=; b=h+A5IhOcBNzifaDWFRehALh/Lk7vE7fcIGMbXMp8PuLnGFEfKg0GN7e045AFv7xt7r QVaAcqt44tR6YqVqdhmqCPYpiWdCwuiDJflrFK1phrcSW28xsohLK18hB1a5vYc5bfOi 74a7PiXz/2ahyfxlj5BrP3+pihNV97owVRKrOpglM343NBpjDBhBeYtq9JNFoeAICiNK vxCaweAcL9504btu0Z32hL1x0upMBT18+GRRXgzFqcQpfDcQRNPrXgLXhvH+3SMJWxXN yWiLIg4+iTsUsm2GpdzHNrj0n/ivSG/SW5bN/7j84HAr6sQxVvWA5J5D7YQVoOxzM/yl azYQ== X-Gm-Message-State: AOAM531bwuDp6pQujifpy6pJP0uTlHcimDQHZPTjegPBxQvjkKgJvCwy FssO+DhrjbqKPozSbXJQfLd9VOrbOmKPiSQOh65yh6l81uvinLVVtcE= X-Google-Smtp-Source: ABdhPJzaF0LbU+BxQW4kI75JGXEO94T9kBKIIyIeGkhD4qpeKgBODeQaYkrQUQMYtzHeB8xQ0UQWgaJ0SOnglO/dk5w= X-Received: by 2002:a05:6902:4d3:: with SMTP id v19mr20500169ybs.183.1624110141313; Sat, 19 Jun 2021 06:42:21 -0700 (PDT) In-Reply-To: <83r1gyw244.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=hongyi.zhao@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270947 Archived-At: On Sat, Jun 19, 2021 at 7:00 PM Eli Zaretskii wrote: > > > Date: Sat, 19 Jun 2021 13:55:51 +0300 > > From: Eli Zaretskii > > Cc: emacs-devel@gnu.org > > > > The fast version is an optimized build, the slow one is unoptimized. > > That explains at least part of the slowness. The fast version also > > doesn't include any text-shaping engine, which might speed up Emacs, > > but prevents it from correctly displaying complex scripts. > > > > What are the Emacs versions of the two builds? > > Sorry, I see now that its Emacs 26.3 and 28. > > And I guess the Emacs 28 build also used the default optimization > options, unlike what I said before. Could you please provide me with the optimization options applicable to Emacs 28, so that I can give it a try? > > So the only difference I see is the text-shaping engine that is > missing in the "fast" version. I don't think I understand why that > should have such a profound effect on the speed of finding fonts, > sorry. HY -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China