Skip to content

Commit

Permalink
opt: reduce decoder stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Oct 18, 2022
1 parent f71042e commit bdf14c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder/pools.go
Expand Up @@ -28,7 +28,7 @@ import (

const (
_MinSlice = 16
_MaxStack = 65536 // 64k slots
_MaxStack = 4096 // 64k slots
_MaxStackBytes = _MaxStack * _PtrBytes
_MaxDigitNums = 800 // used in atof fallback algorithm
)
Expand Down

0 comments on commit bdf14c0

Please sign in to comment.