The cast is about a second shorter than your GCD.