From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Inefficiency in Bgotoifnil byte-code instruction Date: Thu, 28 Jun 2012 16:24:55 -0500 Organization: New Artisans LLC Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340918708 7471 80.91.229.3 (28 Jun 2012 21:25:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2012 21:25:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 28 23:25:08 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SkMD3-0001tX-3p for ged-emacs-devel@m.gmane.org; Thu, 28 Jun 2012 23:25:05 +0200 Original-Received: from localhost ([::1]:33460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkMD3-0002bD-2n for ged-emacs-devel@m.gmane.org; Thu, 28 Jun 2012 17:25:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkMD0-0002Zx-Js for emacs-devel@gnu.org; Thu, 28 Jun 2012 17:25:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkMCy-0000ZQ-QL for emacs-devel@gnu.org; Thu, 28 Jun 2012 17:25:02 -0400 Original-Received: from mail-yw0-f48.google.com ([209.85.213.48]:64400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkMCy-0000Z9-Ip for emacs-devel@gnu.org; Thu, 28 Jun 2012 17:25:00 -0400 Original-Received: by yhfq46 with SMTP id q46so2065473yhf.35 for ; Thu, 28 Jun 2012 14:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:organization:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=qy8GRl0TSDXVQSYPdiH3xuLVf0rj729mrNQP0IN0biY=; b=VdHklwR2hnGGwxJaJq6YKYwOqb5ySPlOmj0I2dweUTF46xp/NbpnJokxW0VknDzir8 MJfbwiSql+6w+WT4eOBD2nqv2u4quUHKUWRwsij3z+a/gC3m789GOEFxD5d1Wx+xOSlG 9P9T0KW6xoIyHVV42tExZeKFGiJxeYYVXWIw6DUxUeP95LjFiVPXSmD1zFE69OQxeJVd pD3twXsKATWZ29nZ7ZnEvHzZBT+wEsjKDQrFbXKLSSftEO8Nexw0wXqy3Punn9MPflmR mzKQCWMxLRg/C7F6cUvYmY0cDf+abnnZNbixBv8ME6UOYeTLb6cDi+jyCwPgomwaIN6O w2lw== Original-Received: by 10.50.202.5 with SMTP id ke5mr709518igc.64.1340918698739; Thu, 28 Jun 2012 14:24:58 -0700 (PDT) Original-Received: from vulcan.local (c-98-215-105-167.hsd1.il.comcast.net. [98.215.105.167]) by mx.google.com with ESMTPS id iw6sm384830igc.15.2012.06.28.14.24.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jun 2012 14:24:57 -0700 (PDT) Original-Received: by vulcan.local (Postfix, from userid 501) id BD778F1EF689; Thu, 28 Jun 2012 16:24:55 -0500 (CDT) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 28 Jun 2012 09:07:16 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.48 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151273 Archived-At: >>>>> Richard Stallman writes: > My recommendation is that we split these into two ops: Bgotoifnil and > Bgotoifnonnil, which use only FETCH and a positive/negative offset from the > current pc, and Bgotoifnil2 and Bgotoifnonnil2 which use the old logic > (FETCH2, and an absolute offset from the start of the bytecode stream). > This incompatibility might be more trouble than it is worth. I hadn't considered that, and I think you're exactly right. John