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

added BatArray.split #826

Merged
merged 2 commits into from
Jan 12, 2018
Merged

Conversation

UnixJunkie
Copy link
Member

No description provided.

@UnixJunkie UnixJunkie mentioned this pull request Jan 12, 2018
@gasche
Copy link
Member

gasche commented Jan 12, 2018

I just checked, this is about 20% faster on my machine than a simple two-pass implementation let split a = (Array.map fst a, Array.map snd a). Merging.

@gasche gasche merged commit ecd6514 into ocaml-batteries-team:master Jan 12, 2018
@UnixJunkie UnixJunkie deleted the array_split branch January 15, 2018 02:26
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