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

--- Comment #1 from David Gustafsson <[email protected]> ---
Created attachment 151273
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151273&action=edit
Bug 33745: Lazily create attribute accessor methods in AUTOLOAD

Lazily create accessor methods when getting or setting an Koha::Object
attribute resulting in a significant speed up.

To test:
1) Run the benchmark.pl script
2) Apply the patch
3) Run the script again, Koha::Object accessors be about 7 times faster
5) Ensure tests in t/db_dependent/Item.t still pass

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