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

Review for adding strictness annotations #2

Open
dylex opened this issue Oct 18, 2015 · 1 comment
Open

Review for adding strictness annotations #2

dylex opened this issue Oct 18, 2015 · 1 comment

Comments

@dylex
Copy link

dylex commented Oct 18, 2015

I believe there are many places where making certain fields strict may greatly improve performance. Obvious examples include toText :: MOOString -> Text and everything in Value.

@verement
Copy link
Owner

verement commented Nov 4, 2015

I had actually made Value strict early on, but found relaxing the strictness provided some interesting benefits for MOO code in the same way it does for Haskell, without an obvious reduction in performance. I admit however that I didn't do a very detailed analysis.

How would you suggest testing the performance characteristics of any such changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants