[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] PVM low-level cleanup and optimization, good version [Was: R

From: Luca Saiu
Subject: Re: [Patch] PVM low-level cleanup and optimization, good version [Was: Re: [Patch, first version] PVM low-level cleanup and optimization]
Date: Sun, 01 Dec 2019 13:33:31 +0100
User-agent: Gnus (Gnus v5.13), GNU Emacs 27.0.50, x86_64-pc-linux-gnu


I agree that the general versions of slide and bulge are not very
Forthish, and the parameters are distracting.

What about only adopting the one common version of each?  "slide" could
mean "slide 1,2" and "bulge" could mean "bulge 1".  Those are very
intuitive to me.

slide ( a b c -- b c )
bulge ( a b -- a a b )

In fact I think I only used these versions in my change set.

About GCD I really like my version better, but okay.

JITTER_ARGUn is like JITTER_ARGNn, but the type is unsigned.

In my changeset the purpose of JITTER_ARGUn is catching buts more
easily.  With an unsigned argument if you pass a negative by mistake the
operation will fail catastrophically instead of executing a change which
leads to a subtly incorrect stack.  No performance difference.

I gave specialized arguments to revn, for performance since in practice
you always reverse to a shallow depth, and in those cases the code is
very fast.  revn 3 is not any slower than swap.

I am waiting for your approval before porting and preparing a final


Luca Saiu
* My personal web site:  http://ageinghacker.net
* GNU epsilon:           http://www.gnu.org/software/epsilon
* Jitter:                http://ageinghacker.net/projects/jitter

I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]