Skip to content

Revert "Standardize on Array copyOf"#9400

Merged
acozzette merged 1 commit intoprotocolbuffers:masterfrom
acozzette:revert-9162
Jan 11, 2022
Merged

Revert "Standardize on Array copyOf"#9400
acozzette merged 1 commit intoprotocolbuffers:masterfrom
acozzette:revert-9162

Conversation

@acozzette
Copy link

This reverts commit 935d099 from PR #9162.

While the original commit was a nice simplification, I learned from
another Googler that there is unfortunately a performance cost to this
(or at least there was last time this change was attempted). Even if it
turns out to be fast on modern Java runtimes, we still care about the
performance on old Android devices.

This reverts commit 935d099 from PR protocolbuffers#9162.

While the original commit was a nice simplification, I learned from
another Googler that there is unfortunately a performance cost to this
(or at least there was last time this change was attempted). Even if it
turns out to be fast on modern Java runtimes, we still care about the
performance on old Android devices.
@acozzette acozzette merged commit 49b184b into protocolbuffers:master Jan 11, 2022
@acozzette acozzette deleted the revert-9162 branch January 11, 2022 16:47
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

Comments