or just remove the memoization and call it a day. Not sure there is any significant performance boost regardless.