PROGMEM data vs. calculated data
Here is my example of using the FLASH memory space for looking up 2D table. define CONST ARRAY &amp; READ from it

The key is to use special macros to force and read the pointers from Flash ( PROGMEM  and pgm_read_word_near ) as the compiler defaults to RAM space.

I can only imagine it is way faster then calculating it.