Is a switch faster than a hub?

Explain your answer​