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

尽量避免显式drop #109

Open
wyfcyx opened this issue Feb 16, 2023 · 0 comments
Open

尽量避免显式drop #109

wyfcyx opened this issue Feb 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@wyfcyx
Copy link
Collaborator

wyfcyx commented Feb 16, 2023

目前各分支上仍存在一些手动drop,其中有些是不必要的,与调度相关的必要的drop也可以通过类似于ch9分支上的exclusive_session接口来规避。无需手动drop是Rust相比C语言的一大优势,要考虑或借鉴一种更好的设计达成这一目标。

@wyfcyx wyfcyx added the enhancement New feature or request label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant