-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[2.8.1] perf pass #10643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.8.1] perf pass #10643
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
david-c-kline
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question about ValueTuple, otherwise looks good!
| } | ||
|
|
||
| Tuple<Collider, Camera> cameraColliderPair = new Tuple<Collider, Camera>(myCollider, cam); | ||
| ValueTuple<Collider, Camera> cameraColliderPair = ValueTuple.Create(myCollider, cam); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ValueTuple is a .net framework 4.7 feature. any thoughts as to whether or not this will break on older unity versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |

Overview
CameraFOVChecker,ObjectManipulator,ObjectManipulator, andLRUCacheMicrosoftArticulatedHand,GenericXRSDKController, andFocusProviderat an earlier point where we know there's no work to be doneOpenXRDeviceManager,XRSDKDeviceManager,BaseCursor, andFocusProviderXRSDKDeviceManagerto use theInputDevicesevents instead of polling every frame (which can be expensive for this method)ControllerPoseSynchronizerandFocusProviderto useSetPositionAndRotationin hot loopsObjectManipulatorto not update twice per frame when doing two handed manipulation...LinePointer's line data provider when the pointer isn't active, since there's no need to update a line for an inactive pointerObjectManipulatorto no longer use a dictionary