From 914880f31b04222fa2815f4f35543b72f881d5e4 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 30 Apr 2016 11:54:33 +0200 Subject: optimization: read stats once and remember it for an initial run and new commits this speeds stagit up a bit: on an initial run of sbase goes from about 4 seconds to 2.8 on my machine. now we can't use statsbuf, so create the stats string ourselves, while at it color the + and - using a style (can be disabled for the color-haters out there ;)). --- style.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index 8cf93d0..e718893 100644 --- a/style.css +++ b/style.css @@ -79,10 +79,12 @@ pre a.h { color: #00a; } +span.i, pre a.i { color: #070; } +span.d, pre a.d { color: #e00; } -- cgit v1.2.3