Homec4science

BibEditMulti: improve action apply performance

Authored by Javier Martin <javier.martin.montull@cern.ch> on Jan 23 2012, 15:26.

Description

BibEditMulti: improve action apply performance

  • _get_formated_record() function rewritten to avoid extra work like converting bibrecord to XML and then to textmarc. Now converting directly to textmarc.
  • New function _get_record_diff() that uses difflib library to show the actions that have been performed. Much more efficient that function previously used.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 1 2012, 16:58
Parents
R3600:64086a5faa52: BibEditMulti: allow empty string replacement
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:d37666899516: BibEditMulti: improve action apply performance (authored by Javier Martin <javier.martin.montull@cern.ch>).Feb 1 2012, 16:58