liu
|
9a95e9de00
|
test: fix timeout problem in issue_test when enable force GC (#135)
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
|
2021-11-19 14:10:19 +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
|
442ce696fb
|
fix: use stackmap of shadow func as jit func's (#127)
* fix: use stackmap of shadow func as jit func's
* fix: use LoadWithFaker in decoder
* fix: LoadWithFaker support go115
* add 'runtime.' prefix on jit funcname to prevent preempt
* add parallel GC tests
* remove no_stack_pointer()
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
Co-authored-by: liuqiang <liuqiang.06@bytedance.com>
|
2021-11-09 11:50:40 +08:00 |
|
Yi Duan
|
3a25fcac4f
|
feat: add node.Load()/LoadAll() to support concurrency (#124)
Change-Id: Ic70b61c720a10d16cecc1f3d7c131d81ff6d4071
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-10-28 17:56:09 +08:00 |
|
Yi Duan
|
12e088f9e9
|
opt(ast): append string instead of []byte (#88)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
Co-authored-by: Oxygen <chenzhuoyu@users.noreply.github.com>
|
2021-09-06 16:58:03 +08:00 |
|
Yi Duan
|
fa5f5026d9
|
opt(ast): speed up api (#85)
- inline findkey()
- use std append() instead of runtime.memmove()
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-09-03 20:05:52 +08:00 |
|
Yi Duan
|
1f13d31b5a
|
chore!: return error for scanning API (#81)
* chore!: return error for cast API
BREAKING CHANGE:
- Set()/Unset()/SetByIndex()/UnsetByIndex/Add()
- Raw()/Bool()/Int64()/Float64()/Number()/Len()/Cap()
- Values()/Properties()/Map()/Array()/Interface()
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-08-30 17:14:38 +08:00 |
|
Yi Duan
|
6aec2f3722
|
feat(ast): Node supports MarshalJson() (#84)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-08-27 18:28:56 +08:00 |
|
Yi Duan
|
8c119dd72d
|
feat(ast): support Node.Unset() and optimize Node.Get() (#80)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-08-24 13:23:55 +08:00 |
|
duanyi.aster
|
6b4022a19f
|
fix: parser.ExportError() exceeds slice boundary
|
2021-07-20 16:47:59 +08:00 |
|
duanyi.aster
|
91e58904fe
|
doc update benchmarks on README.md
|
2021-07-03 00:29:52 +08:00 |
|
Yi Duan
|
e9b6634cac
|
feat: ast supports Node.Exists()/MapUseNode()/ArrayUseNode() (#19)
* feat: ast supports Node.Exists()/MapUseNode()/ArrayUseNode()
* jump table for swithcRawType
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-06-24 16:37:32 +08:00 |
|
chenzhuoyu
|
b2fbad7b4c
|
feat: rewrite generic decoder in Go, using Finite State Machine
|
2021-06-16 23:05:21 +08:00 |
|
chenzhuoyu
|
34fa8d64a8
|
feat: CPU feature detection support
|
2021-06-10 17:14:25 +08:00 |
|
Yi Duan
|
accee2e689
|
feat: support UseNumber for ast (#14)
Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
|
2021-06-09 15:58:27 +08:00 |
|
chenzhuoyu
|
66d6c789d4
|
chore: minor fixes
|
2021-06-02 20:12:04 +08:00 |
|
chenzhuoyu
|
fbe0828190
|
chore: make it open-source
|
2021-05-28 23:58:58 +08:00 |
|