The author doesn’t actually say that one makes better use of memory than the other. It says that the one method “makes good use of memory” in the abstract, which, by itself, doesn’t really mean much of anything.
But regardless of what they said, the two methods aren’t going to be meaningfully different in their implementation. Neither is going to be meaningfully different from the other in terms of memory or time.