What's Faster?

new topic     » topic index » view thread      » older message » newer message

Hello,

What is faster during initialization:



    constant A1=#F

or

    constant A1=15

In other words, does the interpreter read hex numbers
faster then whole decimal integer numbers?
And what about whole numbers between max_integer and #FFFFFFFF ?


Also,

    MySeq[5]=1

or

    MySeq[THE_NUMBER_FIVE]=1


This last one doesnt have to include the time it took
to load the constant THE_NUMBER_FIVE.

In other words, is it faster to read a number typed
within the sequence bracket or is it faster to read
the name of the constant, assuming at least 10 characters
in the constants' name?


Take care for now,
Al

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu