diff options
Diffstat (limited to 'vendor/github.com/bytedance/sonic/option')
| -rw-r--r-- | vendor/github.com/bytedance/sonic/option/option.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/bytedance/sonic/option/option.go b/vendor/github.com/bytedance/sonic/option/option.go index 359f99206..71527cdf0 100644 --- a/vendor/github.com/bytedance/sonic/option/option.go +++ b/vendor/github.com/bytedance/sonic/option/option.go @@ -16,6 +16,14 @@ package option +var ( + // DefaultDecoderBufferSize is the initial buffer size of StreamDecoder + DefaultDecoderBufferSize uint = 128 * 1024 + + // DefaultEncoderBufferSize is the initial buffer size of Encoder + DefaultEncoderBufferSize uint = 128 * 1024 +) + // CompileOptions includes all options for encoder or decoder compiler. type CompileOptions struct { // the maximum depth for compilation inline |
