Jean-Baptiste-Camps / stemmatology

Stemmatological Analysis of Textual Traditions
GNU General Public License v3.0
15 stars 3 forks source link

Rewrite PCC.conflicts to make it more efficient #37

Open Jean-Baptiste-Camps opened 6 years ago

Jean-Baptiste-Camps commented 6 years ago

PCC.conficts is the more intensive function in the package, and has already concentrated much of profiling effort, but, we should see if we can make it more efficient, especially for the cases of alternateReadings.

Perhaps, for these, we could treat the full matrix to turn it into a list, containing lists for row, containing list for each cell, instead of splitting it on the fly.