Commit Graph

5 Commits (ea8121058ff7e78ed75c1e53fc2b1afe9afcbaaa)
 

Author SHA1 Message Date
Avril ea8121058f
Added array literal initialisers for `string_ord<char[N]>`.
2 years ago
Avril 7ce1fd2ad0
leven.h: C++ interace: Added `string_ord<S>`: Compares strings based on levenshtein distaence, and `sim_map<T,S={}>`: an ordered map where the key is of `string_ord<S>` and the value is `T`.
2 years ago
Avril 1752c89056
`leven_diff()`: Added string literal overloads for comptime string comparison load and allocation reductions.
2 years ago
Avril b778b47ae8
Added working C & C++ leven_diff(), added `exopt::util::comptime_value()`.
2 years ago
Avril 388068bc1d
exopt::util::leven_diff(): Added working levenshtein distance algorithm.
2 years ago