youyupei / fast_edit_distance

A quick implementation of edit distance with improved runtime.
MIT License
1 stars 1 forks source link

Non deterministic output #3

Open AndreiDumitrescu26 opened 1 month ago

AndreiDumitrescu26 commented 1 month ago

Running this command multiple times generates unexpected different outputs:

fast_edit_distance.edit_distance(
     '€24,99|€  20,65|€ 24,99|€4,34|€24,99|€  24,99|€  24,99|',
     '1'
)
AndreiDumitrescu26 commented 1 month ago

It seems to happen because "€" is a non-ascii character.