[Koha-bugs] [Bug 33745] New: Speed up Koha::Object attribute accessors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 16 13:41:03 CEST 2023


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

            Bug ID: 33745
           Summary: Speed up Koha::Object attribute accessors
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: glasklas at gmail.com
        QA Contact: testopia at bugs.koha-community.org

In Bug 32060 object accessor methods surprisingly turned out to have a not
huge, but significant negative effect on performance. By dynamically/lazily
creating accessor subroutines in AUTOLOAD, which on subsequent calls will be
called directly instead of AUTOLOAD accessing/setting an object attribute will
become about 7 times faster.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list