java equals/hash warnings
gfredericks opened this issue · comments
Gary Fredericks commented
Should distinct-by
have the same warnings about java equals/hash that frequencies-fast
and distinct-fast
do?
Jason Wolfe commented
Yes, I suppose it should -- good catch. Or it could just be written in a more efficient Clojurey way and share that between clj and cljs -- basically the cljs implementation with a transient set.
Gary Fredericks commented
I think I'd prefer the latter option, since otherwise there wouldn't be a well-behaved distinct-by
available; shall I make a PR?
Jason Wolfe commented
Yes, that would be very welcome -- thanks!
Jason Wolfe commented
Thanks again for the fix!