From: Sergey Matveev Date: Thu, 23 Jan 2025 07:05:59 +0000 (+0300) Subject: Long strings are seldom needed in output X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2afac9360328b40a870fb32a88c9fb97149f743c576c7d0a114a2c8612c43fa9;p=keks.git Long strings are seldom needed in output --- diff --git a/go/cmd/pp/main.go b/go/cmd/pp/main.go index 00b73d8..5ffa4e9 100644 --- a/go/cmd/pp/main.go +++ b/go/cmd/pp/main.go @@ -31,7 +31,7 @@ import ( "go.cypherpunks.su/tai64n/v4" ) -var MaxStrLen = flag.Uint("max-str-len", 1<<62, "Maximal string length to print") +var MaxStrLen = flag.Uint("max-str-len", 40, "Maximal string length to print") func prindent(depth int) { fmt.Print(strings.Repeat(" ", depth))