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

Reduce the footprint of Quarter and Semester #30

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

hsfzxjy
Copy link
Contributor

@hsfzxjy hsfzxjy commented Dec 15, 2023

The field t Time[T] in struct Quarter and Semester is irrelevant to the semantic of both structs, yet incurs unnecessary footprint overhead. Thus PR removes the field to reduce the size of aforementioned structs.

@hsfzxjy hsfzxjy changed the title Reduce the footprint of Quarter and Semaster Reduce the footprint of Quarter and Semester Dec 15, 2023
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fbe8d85) 100.00% compared to head (c8bfcee) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         2635      2637    +2     
=========================================
+ Hits          2635      2637    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@Code-Hex Code-Hex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you!

@Code-Hex Code-Hex merged commit d13ca99 into Code-Hex:main Dec 16, 2023
4 checks passed
@hsfzxjy hsfzxjy deleted the quarter-semaster branch December 16, 2023 13:29
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