Initial work on using a temporary table for processed values.

~2.5x faster :) We're back to the original speeds. Wooo~