I am taking a stream of readings from the GPS controller and storing them in an array, and occasionally writing the readings in the array to a file.
Should I keep the file handle to the file open, or open and close the file each write? And how much does this matter in the scheme of power consumption?