Commit Graph

18 Commits

Author SHA1 Message Date
Masaaki Goshima d8aa8348f4
Improve map encoding performance 2021-12-27 11:14:42 +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 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima 92d8dcd13b Fix encoding of not empty interface type 2021-08-30 13:03:14 +09:00
Masaaki Goshima 1400b498ab Fix encoding of pointer type in empty interface 2021-06-29 11:35:37 +09:00
Masaaki Goshima 12e4bdc2f2 Fix dump of opcode 2021-06-25 22:55:00 +09:00
Masaaki Goshima 994dc9ea9d Fix encoding of empty interface type 2021-06-25 20:17:12 +09:00
Masaaki Goshima cd7fb7392f Support context for MarshalJSON and UnmarshalJSON 2021-06-12 17:06:26 +09:00
Masaaki Goshima 544e731166 Fix value of totalLength for encoding 2021-06-02 19:02:36 +09:00
Masaaki Goshima 7cf15fc56c Fix opcode layout
- Adjust memory layout of the opcode to 128 bytes in a 64-bit environment
2021-05-29 14:47:18 +09:00
Masaaki Goshima 56dabe2da4 Refactor StringTag operation 2021-05-06 20:54:22 +09:00
Masaaki Goshima 2bda5ef91f Fix encoding of MarshalJSON of function type 2021-03-22 21:29:16 +09:00
Masaaki Goshima 906e29acda Optimize wrapped omitempty operation 2021-03-20 20:35:44 +09:00
Masaaki Goshima ff871cb20d Add bytes test 2021-03-19 23:31:29 +09:00
Masaaki Goshima e5d855ff42 Refactor Recursive optype 2021-03-19 15:46:53 +09:00
Masaaki Goshima 10c4118a45 Fix vm code 2021-03-17 00:22:19 +09:00
Masaaki Goshima 62b7d3ba0a Move compiler for encoder to internal package 2021-03-16 19:44:32 +09:00