Page MenuHomePhabricator

[native] Memoize `ConnectedRemoteImage`
ClosedPublic

Authored by atul on Sep 14 2023, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 11:12 PM
Unknown Object (File)
Thu, Nov 28, 5:01 AM
Unknown Object (File)
Thu, Nov 28, 1:06 AM
Unknown Object (File)
Nov 24 2024, 10:00 AM
Unknown Object (File)
Nov 24 2024, 9:50 AM
Unknown Object (File)
Oct 27 2024, 12:55 AM
Unknown Object (File)
Oct 27 2024, 12:50 AM
Unknown Object (File)
Oct 5 2024, 8:36 PM
Subscribers

Details

Summary

Similar to D9213, the profiler isn't providing much information here so I'm memoizing this on a whim to see if anything changes. Doubt this changes anything at all.


Depends on D9213

Test Plan

ConnectedRemoteImage continues to look as expected.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Sep 14 2023, 7:44 PM

If the performance isn't impacted much one way or the other, is the memory usage of memoizing this not noticeable as well?

This revision is now accepted and ready to land.Sep 15 2023, 2:21 PM
In D9214#271139, @rohan wrote:

If the performance isn't impacted much one way or the other, is the memory usage of memoizing this not noticeable as well?

Memory usage of these memoizations is pretty much trivial

This revision was landed with ongoing or failed builds.Sep 17 2023, 3:31 PM
This revision was automatically updated to reflect the committed changes.