Yi Duan
|
b66168fa77
|
feat:(decoder) add option CopyString() (#192)
* feat: add option `CopyString()`
* test: diff copy and nocopy decoding bench
* doc: update README.md
* opt: use global link for `escape_string()`
* feat: copy JSON on `Unmarshal()`
* test: add norace test
* fix: nocopy field key
* test: add generic test
* fix: remove useless instruction
|
2022-02-28 18:46:25 +08:00 |
|
Yi Duan
|
d2711a6af0
|
fix: use global var _KeepAlive to notice GC in shadow funcs (#145)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-12-02 11:08:40 +08:00 |
|
Yi Duan
|
5b38f56cec
|
fix: go1.15 CANNOT support gcWriteBarrier due to linkname bug (#134)
* fix: go1.15 CANNOT add gcWriteBarrier due to linkname bug
* add go1.15 push-check
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-18 11:15:14 +08:00 |
|
Yi Duan
|
43e4a00e90
|
fix: add gc_write_barrier checks (#131)
* fix: add gcWriteBarrier for decode
* add gcWriteBarrier for encoder
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-11-17 11:21:20 +08:00 |
|
Yi Duan
|
c1749cfd1f
|
fix(#100): check type-size of map element to decide whether use mapassign_fastxx (#102)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-09-16 20:13:29 +08:00 |
|
chenzhuoyu
|
bcca8c2052
|
fix: fix addressing past valid memory for empty string
|
2021-07-02 18:25:50 +08:00 |
|
chenzhuoyu
|
85a0d4219f
|
feat: rewrite the generic decoder in assembly
|
2021-06-21 11:34:18 +08:00 |
|
chenzhuoyu
|
b2fbad7b4c
|
feat: rewrite generic decoder in Go, using Finite State Machine
|
2021-06-16 23:05:21 +08:00 |
|
chenzhuoyu
|
e44e686d90
|
fix: clears rest of the array if the JSON is not long enough. This fixes #7.
|
2021-06-06 16:25:34 +08:00 |
|
chenzhuoyu
|
fbe0828190
|
chore: make it open-source
|
2021-05-28 23:58:58 +08:00 |
|