Reverse fromDay
and fromTable
call order in CurrencyAverageRatesService
#7
Labels
fromDay
and fromTable
call order in CurrencyAverageRatesService
#7
Currently the api requires to first call
fromDay
and thenfromTable
:This causes the need to iterate month tables on the spot. All tables must be iterated in order to build the
TablesDictionary
. This diminishes all advantages of using generator, because even if no data is actually used from those tables the full iteration of those tables takes place.Switching the api to first call
fromTable
would allow to produce generators which will be called only on actual usage. Also it would not cause triggering the generator of other tables if only one table is picked.The text was updated successfully, but these errors were encountered: