I recently came across a code refactoring problem. Considering the risk of getting into a risky bug later I switched to my usual mode of think and solve it, rather than go and make the changes fast. However, another colleague of mine solved the same problem with a fast paced code changes approach. Both of them worked correctly. However, this incident made me wonder whether it was actually a problem with one's ability to solve the problem that led one to take a slower approach.
So my question is, whether intelligent people actually can finish their tasks faster, or whether it is the speed of working that gives an illusion of intelligence?
What is the significance of speed in finishing tasks in general?