From 6d438a61c4b772e94b1014e3affd739ca92097d2 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 3 May 2019 10:10:04 +0100 Subject: [PATCH] Bug 21626: (follow-up) Performance Improvement --- about.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/about.pl b/about.pl index 4216c3793d..894999b959 100755 --- a/about.pl +++ b/about.pl @@ -575,8 +575,8 @@ for my $version ( sort { $a <=> $b } keys %{$teams->{team}} ) { my @people = map { { name => $_, ( $contributors->{$_} ? %{ $contributors->{$_} } : () ) } } sort { - my ($alast) = $a =~ /(\S+)$/; - my ($blast) = $b =~ /(\S+)$/; + my ($alast) = ( split( /\s/, $a ) )[-1]; + my ($blast) = ( split( /\s/, $b ) )[-1]; lc($alast) cmp lc($blast) } keys %{$contributors}; -- 2.20.1