Commit Graph

776 Commits

Author SHA1 Message Date
Masaaki Goshima d3951e3213
Merge pull request #227 from goccy/feature/generate-vm-source
Generate VM source
2021-05-19 12:54:59 +09:00
Masaaki Goshima 70b93d8963 Generate VM source 2021-05-19 12:34:40 +09:00
Masaaki Goshima 761b608fbb
Merge pull request #226 from goccy/feature/refactor-debug-vm
Refactor Debug mode for encoding
2021-05-18 14:59:44 +09:00
Masaaki Goshima aee5d8a6fb Refactor Debug mode for encoding 2021-05-18 14:48:13 +09:00
Masaaki Goshima bbea516a68
Merge pull request #225 from goccy/feature/refactor-vm
Refactor the VM source for encoding ( use the same source for each VM )
2021-05-18 14:18:10 +09:00
Masaaki Goshima f65ffc0449 Fix error by linter 2021-05-18 14:03:14 +09:00
Masaaki Goshima f696453c1b Refactor vm sources for encoding ( use same source ) 2021-05-18 13:51:57 +09:00
Masaaki Goshima fc968c75ee Refactor encoding of marshaler and structEnd 2021-05-17 21:08:45 +09:00
Masaaki Goshima 287d5f97a1
Merge pull request #224 from goccy/feature/refactor-vm
Refactor encoding process of structHead and structKey
2021-05-17 19:20:12 +09:00
Masaaki Goshima 34caf07d38 Fix limit of memory resource 2021-05-17 19:06:53 +09:00
Masaaki Goshima 6ae63e3e61 Refactor encoding of structHead and structKey 2021-05-17 18:58:59 +09:00
Masaaki Goshima 102554cbcd
Merge pull request #213 from jxskiss/compact_type_cache
Add type addrShift to enable bigger encoder/decoder cache
2021-05-11 04:15:37 +09:00
Shawn Wang 7e03a13225 Add type addrShift to enable bigger encoder/decoder cache
Change-Id: I630fa501f3b96702b69a40bc0b2f79f4db2a57eb
2021-05-10 13:39:37 +08:00
Masaaki Goshima 835c00e18b
Merge pull request #221 from goccy/feature/refactor-validator
Refactor validator
2021-05-09 14:44:12 +09:00
Masaaki Goshima ec7aec5e45 Fix benchmark job 2021-05-09 13:47:38 +09:00
Masaaki Goshima 33f2568d47 Refactor validator for null/true/false 2021-05-09 03:05:36 +09:00
Masaaki Goshima bfd9846fe8 Update CHANGELOG 2021-05-09 01:45:11 +09:00
Masaaki Goshima a9d147e857 Update README 2021-05-09 01:44:57 +09:00
Masaaki Goshima 7d6401a797
Merge pull request #216 from goccy/feature/support-omitempty-and-string
Supports using omitempty and string tags at the same time
2021-05-09 01:12:28 +09:00
Masaaki Goshima 065efcf447 Add test case for json.Number type 2021-05-09 00:56:00 +09:00
Masaaki Goshima a6c1f6442c Add test case for string type 2021-05-09 00:40:18 +09:00
Masaaki Goshima 7d6d61df68 Add test case for bool type 2021-05-08 23:24:49 +09:00
Masaaki Goshima 440e24181b Add test case for float64 type 2021-05-08 22:41:17 +09:00
Masaaki Goshima 3fa9900acb Add test case for float32 type 2021-05-08 22:38:38 +09:00
Masaaki Goshima 72cf940731
Merge pull request #220 from goccy/feature/fix-217
Fix calculating of length for stream decoder
2021-05-08 10:52:19 +09:00
Masaaki Goshima f3167760ff Fix stream decoder 2021-05-08 01:56:58 +09:00
Masaaki Goshima ab068b0858 Remove unnecessary code 2021-05-07 23:52:24 +09:00
Masaaki Goshima 23081eadad Fix calculating of length for stream decoder 2021-05-07 23:15:16 +09:00
Masaaki Goshima 3ec642d31f
Merge pull request #219 from goccy/feature/fix-218
Fix decoding of slice element
2021-05-07 21:43:09 +09:00
Masaaki Goshima 78e2bf2502 Fix decoding of slice element 2021-05-07 21:31:35 +09:00
Masaaki Goshima e570e5774f Add test case for uint type 2021-05-07 02:03:39 +09:00
Masaaki Goshima 40f049d8a1 Add test case for int type 2021-05-07 01:39:58 +09:00
Masaaki Goshima 87b93ad8a4 Fix lint error 2021-05-07 01:04:25 +09:00
Masaaki Goshima 4cade6589b Add test case 2021-05-07 00:55:15 +09:00
Masaaki Goshima e12b021c70 Fix limit of memory resource 2021-05-07 00:54:47 +09:00
Masaaki Goshima 4823e8bed3 Add omitempty and string operation for vm 2021-05-07 00:53:39 +09:00
Masaaki Goshima 7d7a5163c4 Add OmitEmpty and String operation for indent vm 2021-05-07 00:12:59 +09:00
Masaaki Goshima 56dabe2da4 Refactor StringTag operation 2021-05-06 20:54:22 +09:00
Masaaki Goshima 46bdba4a65
Merge pull request #212 from IncSW/tiny-refactoring
remove unnecessary goto
2021-05-06 13:10:12 +09:00
IncSW a52bba9099
revert initialize elem pointer & remove unnecessary benchmark 2021-05-05 21:31:22 +03:00
Masaaki Goshima 71b8e54730
Merge pull request #215 from goccy/feature/fix-stream-decoder-for-unicode
Fix stream decoder for unicode char
2021-05-06 03:10:40 +09:00
Masaaki Goshima 3b4e3255e3 Fix calculating of buffer length at reset 2021-05-06 02:46:01 +09:00
Masaaki Goshima d4a64f8cde Fix stream decoder for unicode char 2021-05-05 04:21:58 +09:00
Masaaki Goshima 31951a151c Update CHANGELOG 2021-05-04 02:52:34 +09:00
Masaaki Goshima 3eb4729dc3
Merge pull request #211 from goccy/feature/fix-stream-decoder
Fix stream decoder when use slow reader
2021-05-04 02:42:07 +09:00
IncSW f8aac1e69f
replace skipWhiteSpace goto by loop 2021-05-03 13:44:44 +03:00
IncSW 1adac38695
remove extra dereference 2021-05-03 13:43:05 +03:00
Masaaki Goshima 51905367ec
Merge pull request #200 from IncSW/slice-decoding-compatibility
when cap is enough, reuse slice data for compatibility with encoding/json
2021-05-03 17:11:43 +09:00
IncSW c7747ba9b2
remove unnecessary assignments 2021-05-03 10:55:17 +03:00
Masaaki Goshima b06cd9a056 Add benchmark task for CI 2021-05-03 16:25:44 +09:00