Question about Float64 and Int?

In my codes, It seems that Union is faster than hcat.