for experimentation: configurable measure cache size
Summary: @public Allows to limit the number of measure cache entries used. This is purely for experimentation. The measure cache uses about half of every `YGNode`. Reducing its size would allow us to reduce resident memory used by Yoga. Reviewed By: SidharthGuglani Differential Revision: D14279027 fbshipit-source-id: e0d22138230bee7fb129c193eb6e4085de02a36e
This commit is contained in:
committed by
Facebook Github Bot
parent
6368416178
commit
de79f2a1d4
@@ -411,6 +411,8 @@ WIN_EXPORT float YGRoundValueToPixelGrid(
|
||||
const bool forceCeil,
|
||||
const bool forceFloor);
|
||||
|
||||
void YGSetUsedCachedEntries(size_t);
|
||||
|
||||
YG_EXTERN_C_END
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user