GetPathToken no longer does a memory allocation when the token already exists. A benchmark that calls SdfPath::GetString repeatedly on a large amount of SdfPaths shows 2.3x improvement on Windows.
Note that the following unit tests fail on Windows with or without the changes:
Description of Change(s)
GetPathToken no longer does a memory allocation when the token already exists. A benchmark that calls SdfPath::GetString repeatedly on a large amount of SdfPaths shows 2.3x improvement on Windows.
Note that the following unit tests fail on Windows with or without the changes:
158 - testWorkThreadLimitsRawTBBMax (Failed) 767 - testUsdviewNavigationKeys (Failed) 783 - testUsdResolverExample (Failed)
Fixes Issue(s)
None.