Currently, we browse the crossref results once for each EC until we find a matching DOI, which means that we loop paquetSize / 2 times in average.
A better implementation would be to iterate once over the results to make a DOI<->Result map, and then iterate once over the ECs and use this map to merge the results. This would greatly decrease the number of loops.
Currently, we browse the crossref results once for each EC until we find a matching DOI, which means that we loop
paquetSize / 2
times in average.A better implementation would be to iterate once over the results to make a
DOI<->Result
map, and then iterate once over the ECs and use this map to merge the results. This would greatly decrease the number of loops.