-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This is a bit of a random idea, so please feel free to close if unhelpful. I was thinking about how it takes manual work to update the data file and deploy it, so you need to keep a bit of a wider window. So, I was wondering if we could consider adding dates and segments to the open/load_file command in Astronoby. Then, for example in my case on Heroku, I can count on the app being rebooted at least once every 24 hours. So, I could implement some logic to load the file data (into a constant to keep it in memory) but only for today/tomorrow. This might help to improve memory usage and speed, I think, since you wouldn't load the entire months/years of data you have in the actual data file into memory.
I'm not sure if it's feasible, but my thought was to mirror the ruby-ephem excerpt options, if that makes sense.
Also as an aside, I loved the Bike Shed interview! I thought you might get a kick out of seeing https://github.com/Shopify/measured if you haven't already.