BBC BASIC for Windows
« DIfference between dec and hex »
Welcome Guest. Please Login or Register. Apr 6th, 2018, 12:20am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Is this due to an increase in calculation steps to convert dec to binary over hex to binary?
That hex constants are faster than decimal constants is well-known, and libraries (in particular) are often written with that in mind. I know, for example, that David Williams' GFXLIB uses hex constants extensively.
I would argue that the reason why hex is faster is of no relevance whatever; I do not discuss the internal implementation of BB4W in that kind of detail.