Thanks to Frédéric Demians for the original impetus
to improve this function and for doing profiling.
Note that Memoize is a core module since at least 5.8.0.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
use C4::Context;
use C4::Output;
use URI::Split qw(uri_split);
use C4::Context;
use C4::Output;
use URI::Split qw(uri_split);
use vars qw($VERSION @ISA @EXPORT $DEBUG);
use vars qw($VERSION @ISA @EXPORT $DEBUG);
+# expensive functions
+memoize('GetAuthorisedValues');
+
=head1 NAME
C4::Koha - Perl Module containing convenience functions for Koha scripts
=head1 NAME
C4::Koha - Perl Module containing convenience functions for Koha scripts