[Koha-bugs] [Bug 19820] New: Add unsafe param to GetMarcSubfieldStructure
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 15 14:18:06 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19820
Bug ID: 19820
Summary: Add unsafe param to GetMarcSubfieldStructure
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
GetMarcStructure has an "unsafe" param for faster cache retrieval, I have
looked through all the instances where GetMarcSubfieldStructure is called, and
seems to me it's safe to call get_from_cache with the "unsafe" option also in
those cases. While profiling Koha I found that quite some time was actually
spent deserializing MarcSubfieldStructure-hashes (that are usually pretty big),
actually around 7% of total time while indexing biblios for example.
--
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