BusinessDays.jl icon indicating copy to clipboard operation
BusinessDays.jl copied to clipboard

HolidayCalendarCache is not type stable

Open SleepingPills opened this issue 4 years ago • 0 comments

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.

SleepingPills avatar Mar 30 '20 16:03 SleepingPills