From 453628e1984780185704e5039030beb0f910f16a Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 27 Apr 2017 15:40:26 +0200 Subject: [PATCH] browser: omit superfluous usage class Unused pp## does not offer anything over p##. --- browser.plp | 2 -- 1 file changed, 2 deletions(-) diff --git a/browser.plp b/browser.plp index a53f045..202f252 100644 --- a/browser.plp +++ b/browser.plp @@ -196,7 +196,6 @@ $canihas ||= { } } @browsers }; # fallback hash based on release semantics -my $usagemax = (max(map { ref $_ eq 'HASH' && sum(values %$_) } values %$canihas) // 1) / 100; my $usagepct = 1; # score multiplier for 0..100 result # normalise usage percentage to only include shown browsers @@ -415,7 +414,6 @@ sub saybrowsercols { sprintf('p%01d', $usage * ($usagepct - .0001) / 10), sprintf('p%02d', $usage * ($usagepct - .0001)), ), - sprintf('pp%02d', $usage / $usagemax), ), scalar @span, $title, -- 2.30.0