From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: finalpatch Newsgroups: gmane.emacs.devel Subject: Re: font-backend Date: Mon, 25 Feb 2008 10:03:11 +0000 (UTC) Message-ID: References: <8463wrm4ls.fsf@gmail.com> <47B55785.8030802@gnu.org> <47B607C6.20601@gnu.org> <47B61D6A.3070004@gnu.org> <878x1lye80.fsf@catnip.gol.com> <47BF839E.1010402@gnu.org> <47C18C3D.7070705@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203933820 2185 80.91.229.12 (25 Feb 2008 10:03:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2008 10:03:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 11:04:02 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTaBl-00070l-5J for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 11:04:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTaBF-0006F9-HD for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 05:03:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTaB9-0006F3-H3 for emacs-devel@gnu.org; Mon, 25 Feb 2008 05:03:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTaB7-0006Er-Tj for emacs-devel@gnu.org; Mon, 25 Feb 2008 05:03:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTaB7-0006El-Li for emacs-devel@gnu.org; Mon, 25 Feb 2008 05:03:21 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JTaB7-0002Vv-5Q for emacs-devel@gnu.org; Mon, 25 Feb 2008 05:03:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JTaB2-00020l-CZ for emacs-devel@gnu.org; Mon, 25 Feb 2008 10:03:17 +0000 Original-Received: from c122-107-196-188.eburwd5.vic.optusnet.com.au ([122.107.196.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2008 10:03:16 +0000 Original-Received: from fengli by c122-107-196-188.eburwd5.vic.optusnet.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2008 10:03:16 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 122.107.196.188 (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90374 Archived-At: Jason Rumney gnu.org> writes: > > YAMAMOTO Mitsuharu wrote: > > But it still does get_frame_dc and SelectObject even for the > > ASCII-only case. I think this can be deferred until cache miss > > happens. > > > This indeed may result in a minor improvement. I have changed it to > defer these operations. > > Wow~~, that's not just minor improvement. I tested the trunk head today, it's much faster now, quite comparable to the before font-backend version. Great work!