Create separate function for duplicate check
JohannesWiesner opened this issue · comments
Code would be more readable if the duplicate checks would get their own function with their own doc-strings:
Lines 166 to 178 in 1d4c6d3
Then it would be also more easy + readable to define how the index should look like (e.g. _idx
or (idx)
)