mirror of https://github.com/oxen-io/lokinet
Fix and rename CaselessCmp -> CaselessLessThan
The comparison done here was really weird: by comparing lengths *before* contents "zz" would sort before "aaa". It wasn't invalid for the specific purpose being used here (looking for true/false values), but would be highly broken if someone tried to use it elsewhere. Also renamed it because it really is just a `<` implementation, not a full cmp implementation.pull/1124/head
parent
d9b779e780
commit
00a624ab40
Loading…
Reference in New Issue