http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7170
--- Comment #2 from Ian Walls <[email protected]> 2011-11-07 03:06:00 UTC --- My initial research has shown that a drop-in replacement for XML::Simple is hard to find. However, if we could parse the input as YAML instead of XML, then we could use YAML::Syck to load the file and return the same data structure. I've copied the <config> block of koha-conf.xml to koha-conf.yaml, and written a new subroutine to parse that, then modified C4::Context->new to detect the file type and use either XML or YAML according to the KOHA_CONF value. My VERY INITIAL tests indicate 2 orders of magnitude improvement in speed on that portion of code; from hundreds of milliseconds to 1 or 2. More research is needed to confirm these findings, but they're encouraging. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- 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/
