Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rod Pemberton Newsgroups: comp.lang.forth Subject: Re: Average swaps per word? Date: Wed, 9 Nov 2016 03:34:29 -0500 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: <20161109033429.75b93326@_> References: <5352ea02-4942-40bf-8c92-e5012aae1807@googlegroups.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Claws Mail 3.13.1 (GTK+ 2.24.13; x86_64-unknown-linux-gnu) Xref: csiph.com comp.lang.forth:52479 On Tue, 8 Nov 2016 22:03:01 -0800 (PST) trans wrote: > Are there any statistics on the average swaps per word in Forth code? : AAA SWAP SWAP ; : BBB AAA AAA ; AAA would report two. Would BBB report zero or four? I.e., are you wanting to know the "static" SWAPs (typed) or the "dynamic" SWAPs (executed)? The terms "static" and "dynamic" are used by by Philip Koopman, Jr in his book "Stack Computers." Rod Pemberton