2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00
sonic/encoder
liu ccc0f3f1e3
opt: faster ftoa (#291)
* opt: faster f64toa

* feat:(option) add option `MaxInlineDepth` for addjust compilation inline depth (#287)

* feat: make compilation depth changeable

* feat: add option `DefaultMaxInlineDepth`

* add recurse depth = 10

* refactor

* doc: readme and comment

* opt: add `_MAX_FIELDS` to limit the inlining of big struct

* update license

* fix typo

* feat:(ast) support cast `null` to empty value (#278)

* fix: recompile

* test: add ftoa benchmarks

* feat: add f32toa

* fix: add license

* opt: optimize decimal

* fix benchmarks

* fix: poor performance in atof32

* test: add more integer test

Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
Co-authored-by: Yi Duan <duanyi.aster@bytedance.com>
2022-09-20 10:26:18 +08:00
..
asm.s chore: make it open-source 2021-05-28 23:58:58 +08:00
assembler_amd64_go116.go opt: faster ftoa (#291) 2022-09-20 10:26:18 +08:00
assembler_amd64_go117.go opt: faster ftoa (#291) 2022-09-20 10:26:18 +08:00
assembler_test.go fix:(encoder) insufficient buffer size check for OP_i32 (#269) 2022-07-28 17:18:53 +08:00
compiler.go feat:(option) add option MaxInlineDepth for addjust compilation inline depth (#287) 2022-08-22 15:45:49 +08:00
compiler_test.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
debug_go116.go fix (encoder): spill RL (buffer length) register while calling internal encoders in case of it got scratched (#230) 2022-05-23 12:27:29 +08:00
debug_go117.go chore: remove excessive spaces 2022-08-12 15:29:23 +08:00
encoder.go feat:(option) add option MaxInlineDepth for addjust compilation inline depth (#287) 2022-08-22 15:45:49 +08:00
encoder_test.go opt: faster ftoa (#291) 2022-09-20 10:26:18 +08:00
errors.go fix: add nil pointer check (#224) 2022-05-19 13:24:57 +08:00
mapiter.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
pools.go fix:(encoder) keep arguement buf alive (#166) 2021-12-31 17:15:35 +08:00
primitives.go support JSON validate (#189) 2022-02-21 16:35:53 +08:00
sort.go fix: make it sorted when marshalling integer key map (#117) 2021-10-18 19:31:33 +08:00
sort_test.go refactor: make it more readable (#104) 2021-09-18 11:31:25 +08:00
stream.go feat: support streaming IO (#225) 2022-05-24 10:38:43 +08:00
stream_test.go chore: remove excessive spaces 2022-08-12 15:29:23 +08:00
stubs_go116.go fix: support writeBarrier for Go 1.15 (#181) 2022-01-27 17:37:42 +08:00
stubs_go117.go feat: support Go 1.19 (#275) 2022-08-09 12:54:11 +08:00
testdata_test.go chore: make it open-source 2021-05-28 23:58:58 +08:00
types.go feat: supports map key-sorting via encoder options 2021-08-16 18:31:41 +08:00
utils.go feat: performance optimizations 2021-07-02 14:38:12 +08:00