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

Refinement: geodata decoder remove unnecessary GC & export methods for 3rd party #965

Merged
merged 1 commit into from
May 3, 2021
Merged

Refinement: geodata decoder remove unnecessary GC & export methods for 3rd party #965

merged 1 commit into from
May 3, 2021

Conversation

Loyalsoldier
Copy link
Contributor

This PR resolves the performance issue of the new geodata decoder and export methods and errors to 3rd parties.

rurirei added a commit to org-rurirei-folk/v2ray-core that referenced this pull request May 3, 2021
Copy link
Contributor

@xiaokangwang xiaokangwang left a 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

@xiaokangwang xiaokangwang added this to Release Blocker TODO in Release Blocker May 3, 2021
Copy link
Member

@DuckSoft DuckSoft left a 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...

@Loyalsoldier
Copy link
Contributor Author

I see almost no functional change...

The reason why the CPU gets crazy is that too many GCs explicitly.

Copy link
Member

@DuckSoft DuckSoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

@Loyalsoldier Loyalsoldier changed the title Refinement: remove unnecessary GC & export methods for 3rd party Refinement: geodata decoder remove unnecessary GC & export methods for 3rd party May 3, 2021
@Loyalsoldier Loyalsoldier merged commit de71e63 into v2fly:master May 3, 2021
@Loyalsoldier Loyalsoldier deleted the refine-geodata-decoder branch May 3, 2021 17:40
@xiaokangwang xiaokangwang moved this from Release Blocker TODO to In progress in Release Blocker May 3, 2021
@xiaokangwang xiaokangwang moved this from In progress to Done in Release Blocker May 3, 2021
@rurirei
Copy link
Contributor

rurirei commented May 4, 2021

may not necessary to public the emitBytes. call Decode() for thrid_party is fine.

xiaokangwang added a commit that referenced this pull request May 4, 2021
xiaokangwang added a commit that referenced this pull request May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants