How to move to look up table?

This is heavily dependent on the type of application you are running. Basically, if you have a heavy computation that you’re repeating, and you use the same input parameters often, you may be able to calculate that value a single time and then look up the result for future calculations using the same inputs. This trades off compute for memory accesses.