× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 Leif, would you try one more thing since you are already there, please?
What happens if you define it as 14S 0 and 15S 0?  Does packed vs. signed
make a difference?

And thank you for doing that test.  I've wondered the same thing for a long
time now.


---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@MartinVT.com
---------------------------------------------------------

-------Original Message-------

From: midrange-l@midrange.com
Date: Thursday, November 28, 2002 12:08:15 PM
To: midrange-l@midrange.com
Subject: Re: Odd/Even packed numbers.

> Leif,

> apart from rough testing . . . I don't have rights to use sst and not even

> enough knowledge about RISC instructions, but maybe it could be
interesting
> to compare how both versions are compiled to see if there are some machine

> instruction added to fix the missing semi-byte.

>


no need for SST, a simple RPG program or MI program or COBOL
program will do. Since I said that it was trivial, I just wrote one
and added packed 123 up 100,000,000 times.
With PKD(14,0) it took 33.0 seconds (on my slow S20)
With PKD(15,0) it took 29.3 seconds,
so, yes, it is still true. there is a 10% difference. Or 3.7 seconds
for one hundred million additions. You must evaluate if that
difference is a show stopper for your application (it wouldn't be
it for mine).


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.