Improve UUID generation performance