From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6365: bidi data structure inefficiencies Date: Mon, 07 Jun 2010 09:37:02 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1275919097 29876 80.91.229.12 (7 Jun 2010 13:58:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Jun 2010 13:58:17 +0000 (UTC) Cc: 6365@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 07 15:58:15 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OLcqD-0007cS-Ec for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jun 2010 15:58:15 +0200 Original-Received: from localhost ([127.0.0.1]:43147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLcqB-00088C-Rr for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Jun 2010 09:58:11 -0400 Original-Received: from [140.186.70.92] (port=60504 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLcq5-000876-RU for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2010 09:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLcq4-0004QN-0f for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2010 09:58:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49338) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLcq3-0004QI-VY for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2010 09:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OLcWg-00085O-11; Mon, 07 Jun 2010 09:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Jun 2010 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6365-submit@debbugs.gnu.org id=B6365.127591782931065 (code B ref 6365); Mon, 07 Jun 2010 13:38:01 +0000 Original-Received: (at 6365) by debbugs.gnu.org; 7 Jun 2010 13:37:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLcVp-000850-AA for submit@debbugs.gnu.org; Mon, 07 Jun 2010 09:37:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLcVn-00084t-Aa for 6365@debbugs.gnu.org; Mon, 07 Jun 2010 09:37:07 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OLcVi-0004qQ-JG; Mon, 07 Jun 2010 09:37:02 -0400 In-reply-to: (message from Dan Nicolaescu on Sun, 06 Jun 2010 23:21:32 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 07 Jun 2010 09:38:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37579 Archived-At: > From: Dan Nicolaescu > Date: Sun, 06 Jun 2010 23:21:32 -0400 > Cc: > > Some bidi data structures are bigger that they need to be, this > probably results in additional cache misses. > Examples: > > struct bidi_saved_info could use bitfields for the bidi_type_t members > Same for bidi_stack > > bidi_it could use bitfields for a lot of it's members. Thanks for the critical review and suggestions. I started a discussion thread on emacs-devel about this, because I'm not sure fixing this is a straight-forward matter. I will implement whatever conclusions are reached there as part of solving this bug report.