I posted this question on another website but did not really get a straight answer.

If I have an array of 32 bytes defined in a variable SINB, and I execute the command "ampvar=SINB[lookbyte]", does the execution time vary as a function of index, or is the retrieval time constant? As a follow-up, are there any other suggestions that could speed up accessing an array or make it more consistent? (ex: storing in program code vs RAM).

I am aware that there are existing sin functions in PBP, but my end intent is to scale this up once I get it working.

Thanks in advance!
Dave