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

Fastjson fixes enhancements #2462

Closed

Conversation

arjun12102019
Copy link

What this PR does / why we need it?

Optimized code by using Java streams instead of using former for loops to improve performance when we create SymbolTable object by passing big array of elements.
Written basic Junits for SymbolTable class

Summary of your change

Used Java streams to optimize the code as streams improve the performance.
Added Junits for SymbolTable class.

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@kraity
Copy link
Collaborator

kraity commented May 2, 2024

Hi, 这个优化优化一般适用于业务层, 虽然增强了阅读性, 但是实际运行性能会降低.

@wenshao wenshao closed this Oct 18, 2024
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.

4 participants