heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Drop the collecting of drink types for each day when reading the file. Collect them when making the graph #331

Closed heikkilevanto closed 2 weeks ago

heikkilevanto commented 3 weeks ago

Use the first/last record index for each date, loop through the records array and collect data directly from the records.

Drop the collecting of those weird drinktype strings

heikkilevanto commented 2 weeks ago

Fixed. Had hoped for a bit more performance in reading the file.