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

Optimize AsyncEvent #5084

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Optimize AsyncEvent #5084

merged 1 commit into from
Jul 4, 2023

Conversation

Yurunsoft
Copy link
Member

这个结构体太乱了,不是所有情况都需要这些字段,优化后共可以节省 31 字节。

@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Merging #5084 (134cbdf) into master (492419b) will increase coverage by 0.02%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##           master    #5084      +/-   ##
==========================================
+ Coverage   72.94%   72.97%   +0.02%     
==========================================
  Files          69       69              
  Lines       14831    14836       +5     
==========================================
+ Hits        10819    10826       +7     
+ Misses       4012     4010       -2     
Impacted Files Coverage Δ
src/network/client.cc 63.43% <68.75%> (+0.36%) ⬆️
src/coroutine/system.cc 76.10% <90.90%> (ø)
src/os/base.cc 70.83% <100.00%> (+1.26%) ⬆️

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@matyhtf matyhtf merged commit 5adf343 into swoole:master Jul 4, 2023
25 of 26 checks passed
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