From c5ac83cefbee6584612b4ceddbcc52358ad37068 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 30 Nov 2011 08:41:20 -0800 Subject: [PATCH] Show progress less frequently --- planeteer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planeteer.go b/planeteer.go index e3c04cf..72f9935 100644 --- a/planeteer.go +++ b/planeteer.go @@ -520,7 +520,7 @@ func CellValue(data planet_data, dims []int, table []State, addr []int) int32 { // UI: Progress bar cell_filled_count++ - if cell_filled_count&0xff == 0 { + if cell_filled_count&0xfff == 0 { print(fmt.Sprintf("\r%3.1f%%", 100*float64(cell_filled_count)/float64(StateTableSize(dims)))) } -- 2.44.1