New G2 HP Prime
|
08-31-2018, 02:39 PM
(This post was last modified: 08-31-2018 02:44 PM by Claudio L..)
Post: #97
|
|||
|
|||
RE: New G2 HP Prime
(08-31-2018 01:46 AM)Tim Wessman Wrote:(08-31-2018 01:22 AM)Claudio L. Wrote: the HP Prime takes its sweet time doing the MAKELIST() Reading post #82 and around, I thought he went from 1.15 seconds to 0.805 seconds by converting to local vars and moving MAKELIST out of the loop, that's 20% of execution time. I assumed most of that overhead would be on MAKELIST since they were talking about memory management (and that's pretty much the only statement that allocates any memory). EDIT: I blamed MAKELIST because it evaluates an expression repeatedly, that's bound to be much slower than just writing a zero-filled list. But now reading again, that 1.15 seconds was a typo so my thoughts were way off. If it isn't the case, then even more reason to leave the code as-is and not try to tweak it by moving things out of the loop. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)