Store current location so that it is not loaded from disk each time
The function time.LoadLocation(location string)
loads the specified location from disk, leading to a high percentage of memory and CPU usage for something that never changes. Change the CurrentLocation()
function in date_utils
so that it performs this call only if it hasn't been done yet, and saves the location in a private variable which the function then returns.