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

Remove destination address allocation #1042

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Conversation

Jake-Shadle
Copy link
Collaborator

This removes the unnecessary heap allocation for the destination address(es) for downstream packets by just making it a mutable reference that is passed from the packet router driver.

Due to gxhash, these flags are required to be able to compile, so just set them once rather than requiring passing RUSTFLAGS
This removes a heap allocation done for every downstream packet that uses eg. tokenrouter so that it can be allocated (usually) just once and reused
@Jake-Shadle Jake-Shadle force-pushed the remove-filter-allocation branch from b325b95 to c669e9b Compare November 26, 2024 08:38
@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 709173cd-1459-4537-8707-b5bdcc34b028

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

To build this version:

git fetch git@github.com:googleforgames/quilkin.git pull/1042/head:pr_1042 && git checkout pr_1042
cargo build

@XAMPPRocky XAMPPRocky merged commit 114e7e6 into main Nov 26, 2024
12 checks passed
@Jake-Shadle Jake-Shadle deleted the remove-filter-allocation branch November 26, 2024 09:14
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.

3 participants