[Koha-bugs] [Bug 14315] Slow checkouts, caused by many 'special_holidays' definitions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 15 10:17:59 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14315

--- Comment #12 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I've linked two bugs to this report; The first converts the 'exception holiday'
handling to match that of 'special holiday' and removes DateTime::Set as a
dependency (This gives a marked performance boost when exception holidays are
numerous). The second updates the 'special holiday' handing to utilise a
hashref lookup instead of an array iteration (This gives a marked performance
boost when a series of special holidays are defined, especially if many of them
are in the past, as we now do a single comparison as opposed to having to
iterate from oldest defined holiday until we find the date in question, or no
date at all).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list