Koha/C4
Frederic Demians 0551f48150 Improve C4::Charset::MarcToUTF8Record performance
A script like bulkmarkimport.pl spends most of the time
in C4::Charset::MarcToUTF8Record function, and
specifically in C4::Charset::char_decode5426
just initializing a hash. This patch moves this
hash outside function to avoid its initializing
each time the functon is called.

A test on a specific conversion script shows me
that performances were improved from 23s to 8s.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-11-06 15:53:29 -06:00
..
AuthoritiesMarc
Barcodes bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
ClassSortRoutine
External Bug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm 2008-08-12 19:42:37 -05:00
Heading bug 2479: allow MARC21 bib 440 to link to authorities 2008-08-06 14:49:55 -05:00
Members Bug 2176 (2/5): adding patron interface to update messaging preferences 2008-06-20 13:04:50 -05:00
OAI bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Reports fix for bug 2543: report output by tabulation a bit too literal 2008-10-23 11:44:28 -05:00
Search
SIP Allow SIP checkout to pre-empt unfilled holds. 2008-11-04 14:40:38 -06:00
tests
VirtualShelves bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Accounts.pm bug: chargelostitem() didn't unset onloan on the item record. 2008-10-05 21:01:24 -05:00
Acquisition.pm Bug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm 2008-08-12 19:39:13 -05:00
Amazon.pm fix for 2322: Failure to reach amazon.com to retrieve enhanced content causes fatal error in Koha 2008-07-08 16:31:04 -05:00
Auth.pm Remove hardcoded "Freelist" line from Auth. 2008-10-01 12:21:49 -05:00
Auth_with_ldap.pm Bugfix LDAP config to play nice with Zebra. 2008-06-16 15:37:13 -05:00
AuthoritiesMarc.pm commented out unconditional warns 2008-08-09 11:05:57 -05:00
BackgroundJob.pm
Barcodes.pm bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Biblio.pm bug: bookcount.pl pulls wrong title. Problem is sql joins on wrong columns 2008-08-25 11:51:40 -05:00
Bookfund.pm
Bookseller.pm Bug 2419: require Exporter 2008-08-27 09:51:18 -05:00
Boolean.pm
Branch.pm
Breeding.pm
Calendar.pm followup to Calendar overhaul 2008-10-23 12:35:11 -05:00
Charset.pm Improve C4::Charset::MarcToUTF8Record performance 2008-11-06 15:53:29 -06:00
Circulation.pm followup 1 to to renewal limit override 2008-10-23 10:34:56 -05:00
ClassSortRoutine.pm
ClassSource.pm
Context.pm Database connectivity cleanups 2008-11-06 15:53:25 -06:00
Dates.pm
Debug.pm
Heading.pm
ImportBatch.pm Bug 2400 [10/18]: fixing pod syntax in C4/ImportBatch.pm 2008-08-12 19:41:20 -05:00
Input.pm
Installer.pm bug: 2176 improvements to database upgrade path 2008-06-20 17:47:36 -05:00
Items.pm bugfix: Sort previous borrowers descending in Items.pm for moredetail.pl 2008-10-16 14:47:11 -05:00
Koha.pm Minor cleanup, updated POD. 2008-09-09 10:53:04 -05:00
Labels.pm Bug 2555 : label batch_id not properly incremented after batch num 10. 2008-10-05 21:37:12 -05:00
Languages.pm Fix for 2184 2008-07-14 08:39:14 -05:00
Letters.pm Fix for 2492: Mail::Sendmail chokes on utf-8 [ process_message_queue.pl ] 2008-08-10 14:42:47 -05:00
Log.pm Bug 2400 [3/18]: fixing pod syntax in C4/Log.pm 2008-08-12 19:39:41 -05:00
Maintainance.pm
Matcher.pm bug 1980: updateing calls to SimpleSearch to limit number of things returned 2008-07-10 09:11:24 -05:00
Members.pm Squash warnings by checking if $type is defined before comparing it. 2008-11-06 14:16:58 -06:00
NewsChannels.pm Bug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm 2008-08-12 19:41:38 -05:00
Output.pm Bugfix pagination_bar to work with only one param/value pair. 2008-07-10 09:11:44 -05:00
Overdues.pm Fines fixes: apparent problems with fines prevent processing. 2008-08-29 20:31:41 -05:00
Print.pm clean up old-style calls to GetMemberDetails 2008-06-25 11:39:22 -05:00
Record.pm
Reports.pm fix for bug 2543: report output by tabulation a bit too literal 2008-10-23 11:44:28 -05:00
Reserves.pm bug 2522 [2/3]: C4::Reserves support for request targeting 2008-08-18 07:15:52 -05:00
Review.pm minor cleanup, remove $sth->finish's. No documentation impact. 2008-05-30 10:01:06 -05:00
Scheduler.pm Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm 2008-08-12 19:39:23 -05:00
Scrubber.pm Unescape Comment, now that we trust Scrubber to block bad markup. 2008-05-29 06:30:51 -05:00
Search.pm bug 2729: redundant call to C4::Biblio::get_biblio_authorised_values 2008-10-30 08:16:59 -05:00
Serials.pm Bug 2400 [6/18]: fixing pod syntax in C4/Serials.pm 2008-08-12 19:40:30 -05:00
SMS.pm Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm 2008-08-12 19:40:03 -05:00
Stats.pm
Suggestions.pm modification to show the library and not the username of the person at OPAC. 2008-09-02 16:24:29 -05:00
Tags.pm Bug 2279: TagsModeration effectiveness restored. 2008-07-22 15:45:04 -05:00
UploadedFile.pm
Utils.pm
VirtualShelves.pm bug 2459: fix module depedency error blocking SIP2 2008-08-04 15:26:54 -05:00
XISBN.pm Bug 2410: Can't use string ("0") as an ARRAY ref while "strict refs" in use at detail.pl line 219 2008-08-09 08:01:14 -05:00
XSLT.pm bug 2248 [2/2]: import item status display in search results 2008-06-20 17:47:04 -05:00
Z3950.pm