Bug 21626: (follow-up) Performance Improvement
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 May 2019 09:10:04 +0000 (10:10 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 17 May 2019 14:46:10 +0000 (14:46 +0000)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

about.pl

index 1020490..8c73d87 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -578,8 +578,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};