You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 933e919
Browse filesBrowse the repository at this point in the historyBrowse files
Avoid copying AttributedString on the iOS text measure path
iOS text measurement deep-copied the AttributedString several times per
measure, even on a cache hit. Bind references where the code only reads,
move dying locals into the box, add an AttributedString&& box constructor,
build the empty-string placeholder only when needed, and take
const AttributedString& in the RCTTextLayoutManager methods.
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextLayoutManager.h
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ using RCTTextLayoutFragmentEnumerationBlock =
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextLayoutManager.mm
Copy file name to clipboardExpand all lines: packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/TextLayoutManager.mm
0 commit comments