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

Fixing various issues #16

Merged
merged 2 commits into from
Feb 14, 2014
Merged

Fixing various issues #16

merged 2 commits into from
Feb 14, 2014

Conversation

lemire
Copy link
Member

@lemire lemire commented Feb 13, 2014

As previously stated, I think that the code has to take into account that len(v) is an int. So, while it makes perfect sense to use uint as indexes, the underlying array should have a length of type int.

I also think that an implicit assumption in the code is that uint is identical to uint64. This may very well be true for all practical purposes, but you could conceivably use this code on a 32-bit platform where this would not be true.

I also think I made the JSON unmarshalling code cleaner.

I think I caught a few typos in the unit tests.

willf added a commit that referenced this pull request Feb 14, 2014
Fixing various issues -- looks great
@willf willf merged commit 8495d38 into bits-and-blooms:master Feb 14, 2014
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