BusinessDays.jl
BusinessDays.jl copied to clipboard
HolidayCalendarCache is not type stable
The HolidayCalendarCache as implemented is not type stable due to the hc field being of abstract type HolidayCalendar. This then causes unnecessary allocations and is a degrades performance.
I suppose either the HCC struct should be made generic - parametrized on the type of calendar it holds.