Commit be4dc89e authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

[FLR] Switch to using LocalHandle in `FLRImpl::GetOrCreateItem()`.

This enables us to avoid two lock-protected lookups in the parent ProcFLR's handle map (the first for `parent_->IsInstantiatedOnDevice()`, and the second in `GetOrCreateItem()`) every time we invoke a function.

PiperOrigin-RevId: 220209369
parent a7faefeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment