Skip to content

Conversation

dreiss
Copy link
Contributor

@dreiss dreiss commented Oct 24, 2018

Summary:
Gold (the linker) isn't able to gc unreferenced string constants, but
converting these to arrays puts them in their own data sections and reduces
(Android) binary size as a result.

I'm told even in server builds, this reduces binary size by a few dozen bytes
and speeds up startup by a few hundred ns. :-P

Reviewed By: Yangqing

Differential Revision: D10510808

Summary:
Focusing on operators in common use on mobile.

Also use GRADIENT_OPERATOR_SCHEMA.

Differential Revision: D10245216

fbshipit-source-id: 5100c7b541941de48e49e9458b26f0f3a5499a95
Summary:
Gold (the linker) isn't able to gc unreferenced string constants, but
converting these to arrays puts them in their own data sections and reduces
(Android) binary size as a result.

I'm told even in server builds, this reduces binary size by a few dozen bytes
and speeds up startup by a few hundred ns. :-P

Reviewed By: Yangqing

Differential Revision: D10510808

fbshipit-source-id: 734412fd6b3d0545c8d85d2232400d2494031d55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants