http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13758
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion --- Comment #2 from Jonathan Druart <[email protected]> --- I did not find any time saving using a new package to store the version. # Without the patch $ more t.pl use Modern::Perl; use C4::Context; say C4::Context->KOHAVERSION; $ time perl t.pl => 0.150s # With the patch $ more t.pl use Modern::Perl; use C4::Context; use Koha; say Koha::version; $ time perl t.pl => 0.150s To be fair I kept the use of C4::Context, if I remove it I get, of course, ~0.024s -- 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/
