This question made me wonder how one should be pulled up in a rescue situation, e.g. when lowering is not an option. This answer explains a Z-pulley when in an alpine/glacier environment.
I'm more interested how to solve this in a rock climbing environment. Is there a faster method than building a Z-pulley with a dedicated anchor? The person herself can be assumed to sit in a harness, and is in a stable position.
EDIT from comments: here is a good description how a z-pulley works and is set up.