Skip Menu |
 

This queue is for tickets about the List-UtilsBy CPAN distribution.

Report information
The Basics
Id: 124275
Status: new
Priority: 0/
Queue: List-UtilsBy

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Consider minmax(str)_by
Download (untitled) / with headers
text/plain 305b
The "minmax" algorithm can give a faster result for otherwise performing my $minimal = min_by { $_->value } @things; my $maximal = max_by { $_->value } @things; Consider instead my ( $minimal, $maximal ) = minmax_by { $_->value } @things; Don't forget the analogous string case. -- Paul Evans
Download (untitled) / with headers
text/plain 105b
0.11 now has the numeric version. Show quoted text
> Don't forget the analogous string case.
Still TODO -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.