Post Reply 
Time and Battery Indicators
10-25-2017, 07:03 PM (This post was last modified: 10-25-2017 07:06 PM by Tim Wessman.)
Post: #12
RE: Time and Battery Indicators
Yes, it will be the fastest. HMS-> and ->HMS do nothing but flip a bit that is handled by display/calculations on the BCD encoded HP real.

The other one, it will pass the variable by name to the CAS, which then will end up calling the same exact getter code for "Time", call some conversion code to convert the BCD code HP real to a decimal double, then return back the decimal double which runs back through the converter to turn it back into a BCD encoded HP real value. So yeah, not too efficient. Smile

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Time and Battery Indicators - Jacob Wall - 10-22-2017, 09:30 PM
RE: Time and Battery Indicators - Tim Wessman - 10-25-2017 07:03 PM



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