A switch does not use CD/CSMA, and technicly neither does the hub.
A switch uses MAC addresses, and the destination IP in the header of a packet to decide were the traffic should go. The switch will have a RAM buffer to store packets until it is able to forward them to their destination.
If there is a collision on a hub all the ethernet adapters can hear it and they all back off a random amount of time before transmitting again.
So, a switch is not the site for a collision domain, a hub most certainly is.
Second issue, hubs are rated at 10mbs-Half Duplex. Most switches will autosense and can easily do 100mbs-Full Duplex.
Guess which is the better choice?