Store memo state in MatcherContext