Skip to content

Conversation

@ckennelly
Copy link
Contributor

This removes a load per element when a repeated primitive field by avoiding a reload of RepeatedField::rep_. This is also a data dependency for the subsequent (and remaining) load.

For fixed-sized fields, this extends the changes to SerializeWithCachedSizes in 7f3e237 to SerializeWithCachedSizesToArray.

@bazel-io
Copy link

Can one of the admins verify this patch?

This removes a load per element when a repeated primitive field by
avoiding a reload of RepeatedField<T>::rep_.  This is also a data
dependency for the subsequent (and remaining) load.

For fixed-sized fields, this extends the changes to
SerializeWithCachedSizes in 7f3e237 to
SerializeWithCachedSizesToArray.
@TeBoring
Copy link
Contributor

I suspect this is obsolete. @gerben-s to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants