WP 34S Partition of Integers Programme & a Possible OS Bug
|
05-08-2014, 11:47 AM
Post: #4
|
|||
|
|||
RE: WP 34S Partition of Integers Programme & a Possible OS Bug
(05-08-2014 11:22 AM)Gerald H Wrote: I would not recommend the use of BACK & SKIP in a programming language but disagree concerning performance effects. My Pollard's Rho programme takes about half the time of that required in the version using labels & GTOs. Such a large performance change is quite a surprise, I've never noticed much of a difference. The Pollard Rho factorisation code looks to be stack and register manipulations predominately which might explain some of this -- those are reasonably fast. The arithmetic register operations will likely be fairly slow. The *mod is specially coded and avoids the carry and overflow calculations which are surprisingly significant. The interpreter overhead is pretty large too. What does # n do in this program? - Pauli |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
WP 34S Partition of Integers Programme & a Possible OS Bug - Gerald H - 05-08-2014, 10:53 AM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Paul Dale - 05-08-2014, 11:07 AM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Gerald H - 05-08-2014, 11:22 AM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Paul Dale - 05-08-2014 11:47 AM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Gerald H - 05-08-2014, 04:24 PM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Paul Dale - 05-08-2014, 09:52 PM
RE: WP 34S Partition of Integers Programme & a Possible OS Bug - Gerald H - 05-18-2014, 04:33 PM
|
User(s) browsing this thread: 1 Guest(s)