Commit Graph

1041 Commits

Author SHA1 Message Date
Masaaki Goshima 5686ae09f7
Merge pull request #310 from goccy/feature/improve-map-encoding-performance
Improve map encoding performance
2021-12-27 18:17:01 +09:00
Masaaki Goshima 5418c49bcf
Refactor opcode fields 2021-12-27 17:50:55 +09:00
Masaaki Goshima c220d90e4c
Use MapItem object in Mapslice directly 2021-12-27 12:18:30 +09:00
Masaaki Goshima 657973a17e
Ignore lint error for mapIter 2021-12-27 11:33:17 +09:00
Masaaki Goshima d8aa8348f4
Improve map encoding performance 2021-12-27 11:14:42 +09:00
Masaaki Goshima de89bd3db6
Update CHANGELOG 2021-12-05 11:56:17 +09:00
Masaaki Goshima 5ee0d18f0d
Merge pull request #305 from goccy/feature/fix-recursive-ptr-head
Fix operation conversion for PtrHead to Head in Recursive type
2021-12-05 11:54:01 +09:00
Masaaki Goshima 918e816ae4
Fix conversion of operation for PtrHead to Head 2021-12-05 11:38:56 +09:00
Masaaki Goshima 45fb730c34
Add test case 2021-12-05 11:38:23 +09:00
Masaaki Goshima c37d82b10f
Update CHANGELOG 2021-12-02 15:16:56 +09:00
Masaaki Goshima 8ac142ed32
Merge pull request #302 from goccy/feature/refactor-vm
Refactor vm code for encoder
2021-11-29 00:56:55 +09:00
Masaaki Goshima f6b4e43f6a
Refactor encoder's vm 2021-11-28 21:46:32 +09:00
Masaaki Goshima fa6c96f02c
Merge pull request #301 from goccy/feature/encode-compiler-v2
Refactor compiler for encoder
2021-11-28 13:55:17 +09:00
Masaaki Goshima e4c458f34c
Remove StructAnonymousEnd operation 2021-11-28 12:53:18 +09:00
Masaaki Goshima be85245267
Enable StructEnd optimization for ptr type 2021-11-28 12:35:20 +09:00
Masaaki Goshima ea19d1161a
Fix error by linter 2021-11-28 02:48:01 +09:00
Masaaki Goshima b5e1478450
Refactor compiler for encoder
- Introduced a two phase compilation to calculate Opcode index accurately
- Fix display number of Opcode
- Improve memory footprint for Opcode
2021-11-28 02:14:57 +09:00
Masaaki Goshima 2b98da0634
Merge pull request #300 from goccy/feature/fix-anonym-opcode
Fix embedded field conflict behavior
2021-11-19 01:49:27 +09:00
Masaaki Goshima 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima a89c9e30df
Update CHANGELOG 2021-10-16 23:45:11 +09:00
Masaaki Goshima faa7ca28a7
Merge pull request #294 from goccy/feature/fix-uint64-conversion
Fix conversion from pointer to uint64
2021-10-15 19:04:44 +09:00
Masaaki Goshima d7372a47cd
Fix conversion from pointer to uint64 2021-10-14 15:00:28 +09:00
Masaaki Goshima d1195dff31
Update CHANGELOG 2021-09-28 12:46:02 +09:00
Masaaki Goshima 9df46fc918
Merge pull request #291 from orisano/fix/#290
Fix encoding of nil value about interface type that has method
2021-09-27 20:30:39 +09:00
Nao Yonashiro 0065357ebb fix: to avoid panic on untyped nil #290
fix #290
2021-09-27 10:55:37 +09:00
Masaaki Goshima 28eaf919d5
Merge pull request #288 from goccy/feature/use-action-for-codecov
Use github action instead of bash uploader for codecov
2021-09-02 19:01:57 +09:00
Masaaki Goshima 2fc49a2e3e Use action instead of bash uploader 2021-09-02 18:38:33 +09:00
Masaaki Goshima 6c7f27d0c1
Merge pull request #287 from goccy/feature/fix-ci
Fix CI settings
2021-09-02 17:40:37 +09:00
Masaaki Goshima 8ddc591085 Update CI settings 2021-09-02 17:28:09 +09:00
Masaaki Goshima da1cd31b55 Update CHANGELOG 2021-09-01 12:04:06 +09:00
Masaaki Goshima 3fc39932e4
Merge pull request #286 from goccy/feature/fix-empty-struct-interface
Fix encoding of empty struct interface type
2021-09-01 11:57:45 +09:00
Masaaki Goshima 559d70d706 Fix encoding of empty struct interface type 2021-09-01 11:41:33 +09:00
Masaaki Goshima 4f058093a3
Merge pull request #283 from goccy/feature/fix-282
Fix mapassign_faststr for indirect struct type
2021-08-31 13:03:52 +09:00
Masaaki Goshima d494b03b74 Fix decoding of map type that contains indirect element type 2021-08-31 12:21:08 +09:00
Masaaki Goshima e152fc2225
Merge pull request #284 from goccy/feature/fix-281
Fix encoding of not empty interface type
2021-08-30 14:02:16 +09:00
Masaaki Goshima 97c3cf6c55 Fix test 2021-08-30 13:11:44 +09:00
Masaaki Goshima 92d8dcd13b Fix encoding of not empty interface type 2021-08-30 13:03:14 +09:00
Masaaki Goshima 5c527ab463 Add test case 2021-08-30 13:02:43 +09:00
Masaaki Goshima 284c108638 Fix mapassign 2021-08-30 11:40:10 +09:00
Masaaki Goshima 8f5f28614c Add test case 2021-08-30 11:39:27 +09:00
Masaaki Goshima a52bc68ba6 Update CHANGELOG 2021-08-25 13:15:15 +09:00
Masaaki Goshima dc410838e9
Merge pull request #280 from orisano/fix-issue-278
fix: fixed buffer length bug on string decoder
2021-08-25 13:10:57 +09:00
Nao Yonashiro e8637832dd style: gofmt 2021-08-25 11:25:00 +09:00
Nao Yonashiro ae9148555a
Merge branch 'master' into fix-issue-278 2021-08-25 11:23:59 +09:00
Masaaki Goshima 8ebef3b42d
Merge pull request #279 from orisano/fix-utf-8-handling
fix: fixed invalid utf8 on stream decoder
2021-08-25 11:19:49 +09:00
Nao Yonashiro ac41fbec94 fix: fixed buffer length bug on string decoder
close #278
2021-08-25 07:23:34 +09:00
Nao Yonashiro e1e6c41c66 fix: fixed invalid utf8 on stream decoder 2021-08-25 06:15:15 +09:00
Masaaki Goshima deb13af3c6 Update CHANGELOG 2021-08-13 17:32:20 +09:00
Masaaki Goshima 68022098ad
Merge pull request #277 from goccy/feature/improve-error-message
Improve error message
2021-08-13 17:29:27 +09:00
Masaaki Goshima 08c2e1abef Improve error message 2021-08-13 17:05:07 +09:00