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

Brand new lsp #11

Merged
merged 11 commits into from
May 3, 2020
Merged

Brand new lsp #11

merged 11 commits into from
May 3, 2020

Conversation

shaomeng
Copy link
Contributor

@shaomeng shaomeng commented May 3, 2020

This PR has one major change and one minor change.

The major change is to use a std::vector<size_t> and a std::vector<bool> to represent the LSP list. This change addresses #7 .
(It brings more than 10% speed improvement.)

The minor change is to put all coefficient refinement operations into the refinement_pass, eliminating the use of vector m_indices_to_refine. This change should save substantial amount of memory in high BPP cases.
(It reduces peak memory from 8.4GB to 6.7GB in one case.)

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.

1 participant