Skip to content
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

[usdUtils] don't recreate st and pref tokens every time #1283

Merged

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Aug 5, 2020

Description of Change(s)

This is admittedly a pretty minor performance fix - but it bothered me that we were always dynamically creating the "st" and "pref" tokens in UsdUtils. Sort of goes against the point of the whole TfToken system. This PR fixes this by making static tokens for these, and returning those.

@jtran56
Copy link

jtran56 commented Aug 5, 2020

Filed as internal issue #USD-6265

@pixar-oss pixar-oss merged commit 42d3f01 into PixarAnimationStudios:dev Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants