react-native-macos/ReactCommon/fabric/textlayoutmanager
Valentin Shergin 17cb6a8aeb Fabric: Caching for `NSAttributedString`s in RCTTextLayoutManager
Summary:
Creation NSAttributedString from attributedString is not so cheap process, so with this simple cache we hopefully can save a couple milliseconds.
The same string is used at least two times: first time for measuring and second for drawing.

Reviewed By: mdvacca

Differential Revision: D14296514

fbshipit-source-id: 6313aa2c6e9f63d873868131750f61c02d64d2de
2019-03-03 12:07:12 -08:00
..
platform Fabric: Caching for `NSAttributedString`s in RCTTextLayoutManager 2019-03-03 12:07:12 -08:00
tests Fabric: Codemod: All `<fabric/...` includes were renamed to `<react/...` 2018-11-10 14:22:15 -08:00
BUCK xplat// -> fbsource//xplat/ for xplat/js 2019-02-14 23:53:32 -08:00