http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15333

--- Comment #2 from Martin Renvoize <[email protected]> ---
Whilst we're on performance, I'd be interested to see if there was any
discernible difference in using List::Utils any function over the loop found
around line 140 of Koha::Calendar?

Anyone fancy testing that..

use List::Utils qw/any/; #(It's in core perl in more recent releases anyways)

return (any { /$date/ } @$holidays);

They do exactly the same thing, only I think List::Utils functions does so in c
instead of perl so I 'think' is usually quicker ;)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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