Memory versus processor

Would a more powerful processor with average or reduced memory capacity perform better than, equal to, or less than a less powerful processor with more memory, in principle?