From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: x-create-frame is sluggish Date: Sat, 25 Sep 2004 11:36:07 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409250239.LAA15347@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096126595 7806 80.91.229.6 (25 Sep 2004 15:36:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2004 15:36:35 +0000 (UTC) Cc: Karoly.Lorentey@cern.ch, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 17:36:30 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBEb8-0008G5-00 for ; Sat, 25 Sep 2004 17:36:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBEhG-0000s2-Sr for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2004 11:42:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CBEh3-0000o5-UJ for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:42:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CBEh3-0000n2-1n for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:42:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBEh2-0000mK-NA for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:42:36 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CBEam-0004qC-1T for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:36:08 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CBEal-0007jA-DH; Sat, 25 Sep 2004 11:36:07 -0400 Original-To: Kenichi Handa In-reply-to: <200409250239.LAA15347@etlken.m17n.org> (message from Kenichi Handa on Sat, 25 Sep 2004 11:39:06 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.emacs.devel:27562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27562 I think we can cache XFontSet in struct x_display_info per each base_fontname. Then we can avoid calling of XCreateFontSet when we create a new frame on the same display with the same font. Do you want to implement this? Would it be a big or unreliable change, that we would not want to install now?