Optimizing Function Calls: Implementing Memoization and Deduplication - Effect Community