You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a call to write() entails the following:
Open file, write header, close file
Open file, write data, close file
It'd be cleaner to just open the file once and pass this file object to the various write*() functions. This will bring a (likely minuscule) performance benefit, but the main reason to do it is just to make the code clearer.
The text was updated successfully, but these errors were encountered:
Currently a call to
write()
entails the following:It'd be cleaner to just open the file once and pass this file object to the various
write*()
functions. This will bring a (likely minuscule) performance benefit, but the main reason to do it is just to make the code clearer.The text was updated successfully, but these errors were encountered: