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

--- Comment #12 from Martin Renvoize <martin.renvo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to