-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 2 ACC specific attributes to Lazy
Add 2 ACC specific attributes to Lazy: [[ACC::coro_only_destroy_when_complete]] and [[ACC::elideable_after_await]]. This is transparent to all other non-ACC users.
- Loading branch information
1 parent
1527007
commit 0e21867
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0e21867
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.
这是什么内部高级优化
0e21867
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.
一个减少 coroutine destroy 函数生成的代码,另一个尝试减少协程的动态分配,都还在实验中。