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

Fix dependencies and add go.mod #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lucmq
Copy link

@lucmq lucmq commented Jun 16, 2024

  • It was not possible to use the package with Go modules because the dependency 'github.com/willf/bitset' doesn't exist anymore (it was moved to 'github.com/bits-and-blooms/bitset').

  • The dependencies were updated to the latest stable version.

  • The package was modernized to use Go modules.

  • The msb function was updated to use the bits package, which is faster than using math.Log2.

  • Fix the example outputs, since obj.Next() is called before printing the first value in the array.

- It was not possible to use the package with Go modules because the dependency "github.com/willf/bitset" moved to "github.com/bits-and-blooms/bitset".

- The dependencies were updated to the latest stable version.

- The package was modernized to use Go modules.
The msb function was updated to use the `bits` package.
- Fix the example outputs, since obj.Next() is called before printing the first value in the array.
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