How does BusinessDays.jl work?

It looks like once a date is determined to be a business day or not the result is stored in a dictionary so for the second time that date is checked no calculation is necessary. The ‘cache’ is the dictionary. So for lots of repeated checks that is much faster.

2 Likes