Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve encoding performance of empty interface type #259

Merged
merged 3 commits into from Jun 25, 2021

Conversation

goccy
Copy link
Owner

@goccy goccy commented Jun 25, 2021

If you do deep recursive processing about interface{}, runtime.newstack will be called many times and performance will decrease, so allow you to process empty interface without consuming stacks.

@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2021

Codecov Report

Merging #259 (12e4bdc) into master (397a4e4) will increase coverage by 0.02%.
The diff coverage is 85.00%.

@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
+ Coverage   80.97%   81.00%   +0.02%     
==========================================
  Files          47       47              
  Lines       14763    14845      +82     
==========================================
+ Hits        11955    12025      +70     
- Misses       2255     2266      +11     
- Partials      553      554       +1     

@goccy goccy merged commit 3829400 into master Jun 25, 2021
@goccy goccy deleted the feature/improve-encoding-interface-perf branch June 25, 2021 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants