Performance issue on large tables with many table cells

If a table has a large number of cells then we call `find_all` on that table `n` times where `n` is the number of cells in the table. Add simple memoization to prevent this from happening.