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

[ENV] Use Meyers' Singleton Env object. #295

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

Duyi-Wang
Copy link
Contributor

No description provided.

@Duyi-Wang Duyi-Wang requested a review from changqi1 April 7, 2024 08:45
@changqi1
Copy link
Contributor

changqi1 commented Apr 8, 2024

What is the benefits for the Meyers' Singleton Env object?

@Duyi-Wang
Copy link
Contributor Author

Duyi-Wang commented Apr 8, 2024

What is the benefits for the Meyers' Singleton Env object?

用单例就不需要在model.cpp里显式调用一次init函数了

@Duyi-Wang Duyi-Wang merged commit 97efab2 into intel:main Apr 8, 2024
1 check passed
@Duyi-Wang Duyi-Wang deleted the env_singleton branch April 8, 2024 02:02
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.

2 participants