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

Update Simple8bCode.h #1

Merged
merged 4 commits into from Jan 12, 2016
Merged

Update Simple8bCode.h #1

merged 4 commits into from Jan 12, 2016

Conversation

zhiwei2017
Copy link
Contributor

move the old encode function and old decode function in comment, add the optimal encode function and decode function, moreover add some small functions which are described in Anh & Moffat: "Index compression using 64-bit words."

move the old encode function and old decode function in comment, add the optimal encode function and decode function, moreover add some small functions which are described in Anh & Moffat: "Index compression using 64-bit words."
@Buchhold
Copy link
Member

Right now the changes would break the build of the whole project. At the moment, two static methods for encode and decode are required. Your version requires an instance to be made with the constructor. I would very much like to keep the old interface.

Can you make the change? Otherwise I will, when I have time again.

Can you also please fix these two little things:

  1. Don't remove the original author. Only add yourself. After all, lots of the code stayed the same.
  2. Remove the old code. I wasn't so sure during our meeting, but now I don't think the old stuff has to be there.

@Buchhold Buchhold self-assigned this Jan 12, 2016
Chasing Cars added 3 commits January 12, 2016 13:49
remove the object functions to let the new Simple8bCode.h has the same structure as the old one, then we can make sure that the old tests which run for the old one are also adaptive for the new one.
@Buchhold Buchhold merged commit e5a3541 into ad-freiburg:master Jan 12, 2016
Buchhold pushed a commit that referenced this pull request Jan 12, 2016
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.

None yet

2 participants