Post Reply 
newRPL: new decimal library, new benchmarks
08-19-2015, 01:24 PM
Post: #5
RE: newRPL: new decimal library, new benchmarks
(08-19-2015 12:00 AM)Helix Wrote:  Thank you for the updates.

It seems weird to me that for transcendental functions the speed improvement is about 10x with 12 digits, and for + - * / operations the speed improvement is more than 100x, even with 32 digits.

Do you have an explanation for such a difference in speed improvement?

The explanation is quite simple: when you know exactly the precision you are working with, you can develop algorithms that are much more optimized than a generic algorithm that works with any precision. Many of the best "tricks" to improve speed like look-up tables become impractical for variable precision. Algorithms used on the 50g are exceptionally well thought out and optimized for the Saturn processor.
There's still plenty of room for improvement in this department but for now for the first time it feels acceptable (unlike the ROM you tested, where speed was barely on par with the stock firmware).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: new decimal library, new benchmarks - Claudio L. - 08-19-2015 01:24 PM



User(s) browsing this thread: 1 Guest(s)