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

Remove -rectypes from BatFingerTree, simplify the implementation #1012

Merged

Conversation

gasche
Copy link
Member

@gasche gasche commented Jan 31, 2021

The option -rectypes has a non-obvious impact on the type theory of OCaml, it is better to not require it for some modules. -rectypes was used in the implementation of enumeration of finger trees, to implement a specific form of continuation-passing-style. The new implementation uses plain old datatypes, so it is simpler (and shorter). Benchmarking suggests that there are no performance differences.

@UnixJunkie UnixJunkie merged commit 6768910 into ocaml-batteries-team:master Feb 1, 2021
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