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

Refactor filter model from Context->Response into ref mut Context #630

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

XAMPPRocky
Copy link
Collaborator

This moves the filter model from converting Contexts into Response to modifying the context in place. This removes a lot of conversion code in the binary and anecdotally I noticed minor improvements in performance just from using it like this.

Copy link
Contributor

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Love it. Everything is much cleaner 👍🏻

@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 14595393-d374-48aa-9af1-5621ddb06118

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch [email protected]:googleforgames/quilkin.git pull/630/head:pr_630 && git checkout pr_630
cargo build

@XAMPPRocky XAMPPRocky merged commit 00c5e7d into main Oct 25, 2022
@markmandel markmandel deleted the opt-filter-trait branch November 1, 2022 22:02
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/l
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants