Skip to content

Avoid storing the BuilderInfo in _FieldSet #212

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

Closed
wants to merge 2 commits into from

Conversation

sigurdm
Copy link
Collaborator

@sigurdm sigurdm commented Feb 22, 2019

This should allow us to send messages between isolates (#167). And also make this more efficient (as we do not need to copy the metadata.

@@ -53,8 +52,9 @@ class _FieldSet {
final Map<int, int> oneofCases = <int, int>{};

_FieldSet(this._message, BuilderInfo meta, this._eventPlugin)
Copy link
Member

Choose a reason for hiding this comment

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

Remove the meta parameter?

@sigurdm
Copy link
Collaborator Author

sigurdm commented Feb 25, 2019

It seems that this is slowing down our benchmarks significantly :( .
I need to investigate a bit more. Maybe there's somethings we can do.

@sigurdm
Copy link
Collaborator Author

sigurdm commented Sep 30, 2019

I'm not gonna find time to mitigate this.
Closing the PR for now.

@sigurdm sigurdm closed this Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants