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

Avoid materializing, more concrete types #134

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Avoid materializing, more concrete types #134

merged 2 commits into from
Jul 17, 2023

Conversation

charleskawczynski
Copy link
Owner

@charleskawczynski charleskawczynski commented Jul 17, 2023

This PR avoids materializing and more concrete types. It also changes our perf measurements to use the ByPassLogger, so that we avoid performance hits from using the logger.

We're down to ~20μs/game with this PR.

@charleskawczynski
Copy link
Owner Author

bors r+

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #134 (d9c12f4) into main (eacdf6a) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #134      +/-   ##
==========================================
+ Coverage   87.78%   87.80%   +0.01%     
==========================================
  Files          10       10              
  Lines        1081     1082       +1     
==========================================
+ Hits          949      950       +1     
  Misses        132      132              
Impacted Files Coverage Δ
src/game.jl 94.37% <100.00%> (ø)
src/table.jl 96.56% <100.00%> (+0.01%) ⬆️
src/transactions.jl 90.85% <100.00%> (ø)

@bors
Copy link
Contributor

bors bot commented Jul 17, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 7249ea8 into main Jul 17, 2023
19 checks passed
@bors bors bot deleted the ck/refactor2 branch July 17, 2023 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant