The code doesn't scale when the CSV file gets big. Can fix that later. But in short: Saving to it would probably best be done by just appending a pure text line to that file, which is fast. Loading it is another matter. For normal startups, we're only interested in the average WPM and the last keyboard used. Those could be stored in a separate file, with the potential of getting out of sync. Just want to flag it as an issue.
The code doesn't scale when the CSV file gets big. Can fix that later. But in short: Saving to it would probably best be done by just appending a pure text line to that file, which is fast. Loading it is another matter. For normal startups, we're only interested in the average WPM and the last keyboard used. Those could be stored in a separate file, with the potential of getting out of sync. Just want to flag it as an issue.