-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Refinement: geodata decoder remove unnecessary GC & export methods for 3rd party #965
Conversation
* uses io.ReadSeeker v2fly/v2fly#965
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge this code and then make necessary change.
RELEASE BLOCKER
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see almost no functional change...
The reason why the CPU gets crazy is that too many GCs explicitly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
may not necessary to public the emitBytes. call Decode() for thrid_party is fine. |
This PR resolves the performance issue of the new geodata decoder and export methods and errors to 3rd parties.