[Koha-bugs] [Bug 25850] CalcDateDue freezes with 'useDaysMode' set to 'Dayweek' and the due date lands on a Sunday
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 29 10:51:33 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25850
--- Comment #12 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I did a quick benchmark on '`Modulo` Vs `comparison + assignment`'.
Rate Modulo Assign
Modulo 23693859/s -- -22%
Assign 30513086/s 29% --
So.. it looks like the test + assign is the quicker operation... I'll add a
followup here to make that conversion to match the logic here to the logic in
the is_holiday routine.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list