Commit Graph

997 Commits

Author SHA1 Message Date
Masaaki Goshima 145da4ae20
Merge pull request #112 from goccy/feature/fix-lint
Fix lint error
2021-02-03 23:54:56 +09:00
Masaaki Goshima a90f2cbf1b Refactor by linter 2021-02-03 23:50:02 +09:00
Masaaki Goshima e7836fbc45 Add disable rule 2021-02-03 23:43:22 +09:00
Masaaki Goshima 6de0ce6172 Fix Makefile 2021-02-03 23:43:14 +09:00
Masaaki Goshima be3d2ff6db Add lint task 2021-02-03 23:33:28 +09:00
Daisuke Maki 88ffc1673e disable ifshort 2021-02-02 08:22:00 +09:00
Daisuke Maki 5cd3291f16 Update golangci-lint 2021-02-02 07:57:27 +09:00
Daisuke Maki 5f9f30fc8e Merge branch 'master' into golangci-lint 2021-02-02 07:54:20 +09:00
Daisuke Maki e81d6a67d2 Merge branch 'master' into golangci-lint 2021-02-02 07:49:45 +09:00
Masaaki Goshima 5a0faf65e4
Merge pull request #111 from goccy/feature/fix-lint
Fix error by linter
2021-02-01 22:48:56 +09:00
Masaaki Goshima 0a5e990b17
Merge pull request #110 from goccy/feature/fix-marshal-json
Fix encoding of type which implemented MarshalJSON
2021-02-01 22:40:17 +09:00
Masaaki Goshima b24bbdb559 Add configuration file for golangci-lint 2021-02-01 22:35:06 +09:00
Masaaki Goshima b6ffc2368a Add test code 2021-02-01 22:34:53 +09:00
Masaaki Goshima 2a0d4603ea Fix error output by golangci-lint 2021-02-01 22:32:45 +09:00
Masaaki Goshima b431a095d6 Fix error by race detector 2021-02-01 20:02:43 +09:00
Masaaki Goshima 0297427ef5 Fix encoding of MarshalJSON type 2021-02-01 18:43:28 +09:00
Daisuke Maki 0ac7b139e6 Add explicit 5m timeout 2021-02-01 13:04:06 +09:00
Masaaki Goshima c410c7e5fa
Merge pull request #107 from goccy/feature/refactor-encoder
Refactor the encoder to fix a bug where streaming encoders can't reuse buffer
2021-02-01 12:19:34 +09:00
Daisuke Maki aeefd45f33 it might be better if we enable this for pull_requests too 2021-02-01 12:17:18 +09:00
Daisuke Maki 21932ab583 Add a config file 2021-02-01 12:12:22 +09:00
Masaaki Goshima 1d91627890 Add codecov.yml 2021-02-01 12:05:28 +09:00
Masaaki Goshima 04da39a443 Fix error message 2021-02-01 12:01:56 +09:00
Masaaki Goshima 48b6fe21c6 Fix race error 2021-02-01 11:36:41 +09:00
Daisuke Maki c3e7356903 Add a golangci-lint Github Action
The go vet is appended, because I have seen some important
lint issues that are disabled by golangci-lint being reported by
the vanilla go vet commnand
2021-02-01 06:37:26 +09:00
Masaaki Goshima 7895767eaa Add benchmark for streaming encoding 2021-01-31 23:01:39 +09:00
Masaaki Goshima ffc954d356 Fix MarshalNoEscape 2021-01-31 22:53:01 +09:00
Masaaki Goshima 61e533dca2 Refactor encoder 2021-01-31 22:45:59 +09:00
Masaaki Goshima 1ea4ffc9c8
Merge pull request #103 from goccy/feature/optimize-lookup-opcodeset
Improve performance of lookup of opcodeSet at encoding
2021-01-31 12:57:05 +09:00
Masaaki Goshima 90c2560b52 Fix accepatable address range 2021-01-31 02:30:48 +09:00
Masaaki Goshima 1c0b7e7c7d Add benchmark for encoding of bool type 2021-01-31 01:49:35 +09:00
Masaaki Goshima a6ea71d2f6 Improve performance of lookup opcodeSet at encoding 2021-01-31 01:48:54 +09:00
Masaaki Goshima c655881253
Merge pull request #102 from goccy/feature/fix-decoding-escaped-char
Fix decoding of escape char at UnmarshalJSON
2021-01-30 02:09:57 +09:00
Masaaki Goshima 6e154ee727 Fix decoding of escape char at UnmarshalJSON 2021-01-30 02:03:31 +09:00
Masaaki Goshima 73dac85d26
Merge pull request #101 from goccy/feature/fix-marshaler-performance
Fix encoding of type which implemented MarshalJSON
2021-01-30 01:55:40 +09:00
Masaaki Goshima 0059153b07 Fix UnmarshalJSON for RawMessage type 2021-01-30 01:47:31 +09:00
Masaaki Goshima 84c8b84671 Fix encoding of type which implemented MarshalJSON 2021-01-30 01:14:22 +09:00
Masaaki Goshima 2558d4399f Add benchmark for encoding of type which implemented MarshalJSON 2021-01-28 22:19:16 +09:00
Masaaki Goshima 94dcae2d48
Merge pull request #100 from goccy/feature/optimize-encoder
Optimize copy of byte slice for encoder
2021-01-27 12:11:18 +09:00
Masaaki Goshima 182826fe68 Optimize encoding engine 2021-01-27 10:58:40 +09:00
Masaaki Goshima fe1fa3915a
Merge pull request #99 from goccy/feature/add-bench
Add some benchmarks for encoder
2021-01-27 10:58:23 +09:00
Masaaki Goshima 2c95711d45 Add benchmark 2021-01-26 23:56:10 +09:00
Masaaki Goshima 72e9fa8193
Merge pull request #97 from goccy/feature/fix-interface
Fix interface operation and optimize map operation
2021-01-25 13:22:30 +09:00
Masaaki Goshima 02797daba4 Optimize map operation 2021-01-25 13:10:07 +09:00
Masaaki Goshima 0be236361a Improve performance of encoding map type ( escaped and not indented ) 2021-01-25 00:23:07 +09:00
Masaaki Goshima 689587cd72 Fix indent encoding 2021-01-25 00:06:16 +09:00
Masaaki Goshima 75f34df1c6 Fix interface operation 2021-01-24 23:27:23 +09:00
Masaaki Goshima d59d465042 Remove InterfaceEnd operation 2021-01-24 23:04:54 +09:00
Masaaki Goshima 0771b8c7fc Fix cast of interface type 2021-01-24 22:59:17 +09:00
Masaaki Goshima c09798d552 Fix interface operation 2021-01-24 20:39:59 +09:00
Masaaki Goshima ee36bdedb6 Fix interface 2021-01-24 17:20:36 +09:00