Skip to content

Adaptive Probability Maps #27

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

Merged
merged 3 commits into from
May 27, 2014
Merged

Adaptive Probability Maps #27

merged 3 commits into from
May 27, 2014

Conversation

kvark
Copy link
Collaborator

@kvark kvark commented May 26, 2014

The PR features a basic APM implementation, using Matt Mahoney's "bbb.cpp" as a reference. Gate is
operational but slow due to the lack of function-generated fixed-size tables (to be fixed when Rust matures). We can have tables if we restrict the WideProbability and FlatProbability sizes to 4K (the tables are in commit history for that reason).

APM allows for flexible context mixing when coding bits, and is successfully used for BWT output encoding by "bbb" and "https://github.com/IlyaGrebnov/libbsc".

@kvark kvark changed the title Advanced Probability Maps Adaptive Probability Maps May 26, 2014
@alexcrichton
Copy link
Collaborator

Looks good to me! I wouldn't worry too much about the travis failure for now, something to fix on rustdoc's side.

@kvark
Copy link
Collaborator Author

kvark commented May 27, 2014

I filed a bug on that, in case you didn't see me on IRC:
rust-lang/rust#14450

kvark added a commit that referenced this pull request May 27, 2014
@kvark kvark merged commit f0de4ae into master May 27, 2014
@kvark kvark deleted the t-ari branch July 3, 2014 19:48
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