Skip to content

[+] switch to json-iterator/go from encoding/json#776

Merged
pashagolub merged 1 commit intomasterfrom
switch-to-jsoniter
Jun 2, 2025
Merged

[+] switch to json-iterator/go from encoding/json#776
pashagolub merged 1 commit intomasterfrom
switch-to-jsoniter

Conversation

@pashagolub
Copy link
Copy Markdown
Collaborator

Replaced standard "encoding/json" with "github.com/json-iterator/go" to improve serialization/deserialization speed and reduce memory allocations.
This change is expected to lower CPU usage and heap pressure in high-throughput scenarios. Behavior remains compatible with the standard library.

Replaced standard "encoding/json" with "github.com/json-iterator/go"
to improve serialization/deserialization speed and reduce memory
allocations.
This change is expected to lower CPU usage and heap pressure in
high-throughput scenarios. Behavior remains compatible with the standard
library.
@pashagolub pashagolub self-assigned this Jun 2, 2025
@pashagolub pashagolub added the refactoring Something done as it should've been done from the start label Jun 2, 2025
@pashagolub pashagolub merged commit e35caa6 into master Jun 2, 2025
9 checks passed
@pashagolub pashagolub deleted the switch-to-jsoniter branch June 2, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Something done as it should've been done from the start

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant