Skip to content

Add FenwickTree #7

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 1 commit into from
Sep 8, 2020
Merged

Add FenwickTree #7

merged 1 commit into from
Sep 8, 2020

Conversation

koba-e964
Copy link
Collaborator

FenwickTree is added.

Difference from ACL

  • The name of struct (fenwick_tree -> FenwickTree)
  • Trait bound. ACL's fenwick_tree accepts all integer-like types whereas FenwickTree accepts only types that implement Clone, AddAssign and Sub (although all built-in integer types satisfy these constraints)

@matsu7874 matsu7874 merged commit 432e783 into rust-lang-ja:master Sep 8, 2020
@koba-e964 koba-e964 deleted the fenwick branch September 8, 2020 00:52
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