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

Use of 2-3 Finger Trees #3

Closed
d-s-d opened this issue Jun 13, 2017 · 1 comment
Closed

Use of 2-3 Finger Trees #3

d-s-d opened this issue Jun 13, 2017 · 1 comment

Comments

@d-s-d
Copy link

d-s-d commented Jun 13, 2017

Hi.

I couldn't find any forum, discussion group or eMail-Address, hence I allowed myself to ask this question here.

While looking for an implementation of finger trees in C++, I came across libf. Using the implementation of 23-fingertrees underlying the sequence type, is it possible to annotate each node with a measure?

More concretely, what I'm trying to do is very similar to this: http://jkff.info/articles/ire/

many thanks.

@GJDuck
Copy link
Owner

GJDuck commented Jun 14, 2017

Using the implementation of 23-fingertrees underlying the sequence type, is it possible to annotate each node with a measure?

Yes, probably. There is already a len field for every node that can be generalized to other types/operations beyond size_t and +. This was on the TODO list but never implemented since ultimately there was no need (for F::String and F::Vector at least).

@GJDuck GJDuck closed this as completed Jun 14, 2017
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

No branches or pull requests

2 participants