Skip to content

Enable prepared text layout by default (#59152) - #59152

Closed
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D125768089
Closed

Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D125768089

Conversation

@Abbondanzo

@Abbondanzo Abbondanzo commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089

@meta-codesync

meta-codesync Bot commented Oct 16, 2026

Copy link
Copy Markdown

@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D125768089.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 16, 2026

@tomekzaw tomekzaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thank you

@meta-codesync meta-codesync Bot changed the title Enable prepared text layout by default Enable prepared text layout by default (#59152) Oct 20, 2026
Abbondanzo added a commit to Abbondanzo/react-native that referenced this pull request Oct 20, 2026
Summary:

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089
@Abbondanzo
Abbondanzo force-pushed the export-D125768089 branch 2 times, most recently from 4726692 to 292ac3f Compare October 20, 2026 22:36
Abbondanzo added a commit to Abbondanzo/react-native that referenced this pull request Oct 20, 2026
Summary:

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089
Abbondanzo added a commit to Abbondanzo/react-native that referenced this pull request Oct 20, 2026
Summary:
Pull Request resolved: react#59152

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089
Abbondanzo added a commit to Abbondanzo/react-native that referenced this pull request Oct 21, 2026
Summary:

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089
Summary:
Pull Request resolved: react#59152

Turn on caching of text layout artifacts for later reuse and the Android text measurement optimizations by default, and raise the prepared layout cache size from 200 to 1000 entries. Overflow-hidden text default was already on and is unchanged.

Changelog: [General][Changed] - Enable prepared text layout caching and Android text measurement optimizations by default

Reviewed By: christophpurrer

Differential Revision: D125768089
@meta-codesync meta-codesync Bot closed this in a5cb48b Oct 21, 2026
@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 21, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @Abbondanzo in a5cb48b

When will my fix make it into a release? | How to file a pick request?

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants