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

use less memory by structs #428

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

jkralik
Copy link
Member

@jkralik jkralik commented Jan 27, 2023

Installed tool:
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest

We need to be careful with atomic.Int64 and atomic.Uint64 for ARM,MIPs 32bit

@sonarcloud
Copy link

sonarcloud bot commented Jan 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Merging #428 (1890800) into jkralik/fix/bwt-race (32d2520) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@                   Coverage Diff                    @@
##           jkralik/fix/bwt-race     #428      +/-   ##
========================================================
+ Coverage                 71.50%   71.54%   +0.03%     
========================================================
  Files                        70       70              
  Lines                      5496     5496              
========================================================
+ Hits                       3930     3932       +2     
+ Misses                     1173     1172       -1     
+ Partials                    393      392       -1     
Impacted Files Coverage Δ
dtls/server/config.go 71.42% <ø> (ø)
dtls/server/server.go 76.47% <ø> (ø)
dtls/server/session.go 81.69% <ø> (ø)
message/message.go 80.00% <ø> (ø)
message/pool/message.go 75.87% <ø> (ø)
message/pool/pool.go 92.00% <ø> (ø)
mux/router.go 63.63% <ø> (ø)
...ent/limitParallelRequests/limitParallelRequests.go 92.75% <ø> (ø)
net/conn.go 89.06% <ø> (+1.56%) ⬆️
net/connUDP.go 59.76% <ø> (-0.79%) ⬇️
... and 25 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Base automatically changed from jkralik/fix/bwt-race to master January 30, 2023 10:38
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.

None yet

2 participants