Picat Tabling for Memoization Questions and Answers
A programmer is writing a Picat function to calculate Fibonacci numbers, which is notoriously inefficient due to repeated calculations of the same subproblems. Which Picat directive should be used to automatically memoize the results of the function calls and significantly improve performance?