That's why I said algorithm efficiency and not wall-clock time or something else implying that I was talking about real-time.
If your algorithm is poorly designed and does significantly more work than necessary then that is independent of physical memory.
It's like you are trying to misunderstand me.