Author Topic: HP Prime Relative Speed Testing- What is REALLY faster?  (Read 13189 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: HP Prime Relative Speed Testing- What is REALLY faster?
« Reply #15 on: October 15, 2014, 11:28:52 pm »
True, although even with ICON, image data tends to be quite large. It's definitively much smaller, though (I think one of my programs went from 106 KB to 48 or something)

Offline webmasterpdx

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: HP Prime Relative Speed Testing- What is REALLY faster?
« Reply #16 on: September 03, 2017, 08:06:26 pm »
On a forum at the museum of hp calculators, one of the HP engineers explained to me how programs are interpreted. Whenever you exit a program after editing, there is a compilation step that is done. Some optimization is done as the source code is converted to a form of P-code internally. Note that this is why comments do not affect speed, as these don't exist in the P-Code. I just thought you should be aware of this, as it's not really the source that you are looking at that is executed, but whatever it's converted into in the compilation step.