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

Encode value 1 by 1 to avoid allocating mem for posting lists #267

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

tyb0807
Copy link
Collaborator

@tyb0807 tyb0807 commented Jan 3, 2025

Supersedes #260

lower_bit_mask,
lower_bit_length,
cur_high: 0,
cur_index: 0,
}
}

/// Returns the value at the given index
#[allow(dead_code)]
Copy link
Owner

Choose a reason for hiding this comment

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

probably useful to note that this function is inefficient, should only be used in tests

@tyb0807 tyb0807 merged commit 169bc6d into master Jan 3, 2025
2 checks passed
@tyb0807 tyb0807 deleted the tyb/optim branch January 3, 2025 15:14
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.

2 participants