An inefficiency in parseJATS.authors_non_byline() where it was calling format_contributor() for every contributor when it doesn't need to. This led to refactoring of how contributor details are set.
The existing tests are passing, although the XML parsing speed is only potentially increased for articles with many contributors.
An inefficiency in
parseJATS.authors_non_byline()
where it was callingformat_contributor()
for every contributor when it doesn't need to. This led to refactoring of how contributor details are set.The existing tests are passing, although the XML parsing speed is only potentially increased for articles with many contributors.