You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
575: Add `sorted_by_cached_key` to `Itertools` trait r=jswrenn a=density
Fixes#424.
This function is a wrapper around `slice::sort_by_cached_key`.
Added tests similar to those for `sorted_by_key`. New code is formatted using `rustfmt`.
Co-authored-by: Justin Prieto <justin@prieto.nyc>
Suggestion: sorted_by_cached_key
Like
sorted_by_key
but caching keys likeslice::sort_by_cached_key
.Please add it, it would be very useful :)
The text was updated successfully, but these errors were encountered: