Skip to content

partial functions for ST arrays #96

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
May 28, 2017
Merged

Conversation

matthewleon
Copy link
Contributor

I was surprised to see that partial functions exist for Array but not STArray, given the performance-sensitive contexts in which STArray is used. I've used these functions in purescript-mersenne (https://github.com/matthewleon/purescript-mersenne) to significantly increase performance in a tight loop.

@paf31 paf31 merged commit b863b82 into purescript:master May 28, 2017
@paf31
Copy link
Contributor

paf31 commented May 28, 2017

Thanks!

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