diff --git a/decoder/compiler.go b/decoder/compiler.go index 7203b17..cf8befb 100644 --- a/decoder/compiler.go +++ b/decoder/compiler.go @@ -96,8 +96,8 @@ const ( ) const ( - _MAX_STACK = 10 // cutoff at 10 levels of nesting types - _MAX_ILBUF = 250000 // cutoff at 250k of IL instructions + _MAX_STACK = 5 // cutoff at 5 levels of nesting types + _MAX_ILBUF = 100000 // cutoff at 100k of IL instructions ) var _OpNames = [256]string { diff --git a/encoder/compiler.go b/encoder/compiler.go index a306b19..10df4fa 100644 --- a/encoder/compiler.go +++ b/encoder/compiler.go @@ -86,8 +86,8 @@ const ( ) const ( - _MAX_STACK = 10 // cutoff at 10 levels of nesting types - _MAX_ILBUF = 500000 // cutoff at half a million of IL instructions + _MAX_STACK = 5 // cutoff at 5 levels of nesting types + _MAX_ILBUF = 100000 // cutoff at 100k of IL instructions ) var _OpNames = [256]string {