Make the Clock type an int, rather than a struct Inline the hour/minute conversions on String() Inline the calculation of total and its modulo to minutesPerDay Benchmarks show ~35% improvement