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

Utilize const generics to pass settings to VW algorithm. #942

Merged
merged 4 commits into from Dec 6, 2022
Merged

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Nov 29, 2022

Probably a microoptimization, but this makes the stack frames a little bit smaller since we remove an unneeded argument. And maybe allows the compiler to better optimize the conditional checks with these values.

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Probably a microoptimization, but this makes the stack frames a little bit smaller since we remove an unneeded argument.
@michaelkirk
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 6, 2022

Build succeeded:

@bors bors bot merged commit 4dba14d into main Dec 6, 2022
@bors bors bot deleted the const-generics branch December 6, 2022 19:06
@michaelkirk michaelkirk mentioned this pull request Dec 6, 2022
2 tasks
bors bot added a commit that referenced this pull request Dec 6, 2022
950: Fix RDP recursion bug #2 r=urschrei a=michaelkirk

- [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md).
- [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.
---

Supersedes #941

I rebased #940 against main to include #942 and added a guard to avoid the spurious assertion failure introduced in c61abfa



Co-authored-by: Stephan Hügel <shugel@tcd.ie>
Co-authored-by: Michael Kirk <michael.code@endoftheworl.de>
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