Skip to content

Make RuntimeDeviceTracker DeepyCopy more efficient.

The DeepCopy method is used when a ScopedGlobalRuntimeDeviceTracker is constructed. This in turn causes the rebuilding of the device names and states which isn't a free operation. Now we copy the already computed information.

This was noticeable when using ArrayHandleTransform since it uses ScopedGlobalRuntimeDeviceTracker when construction host side portals.

Merge request reports