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

Rework D source #1

Merged
merged 2 commits into from
Aug 5, 2018
Merged

Rework D source #1

merged 2 commits into from
Aug 5, 2018

Conversation

kinke
Copy link
Contributor

@kinke kinke commented Aug 3, 2018

I took the liberty of rewriting the D source in a more idiomatic way. As rather unexpected side effect, the performance has almost doubled compared to the previous version (both compiled with ldc2 -mtriple=wasm32-unknown-unknown-wasm -betterC -O using current master). My Firefox score is ~112 MP/s, Chrome 120 MP/s (i5-3550, Windows); both at least 100% faster than the JS implementation.

@kinke
Copy link
Contributor Author

kinke commented Aug 3, 2018

Pinging @allen-garvey in case you haven't noticed yet. ;)

@kinke
Copy link
Contributor Author

kinke commented Aug 5, 2018

Now working with a bayer matrix global.

@allen-garvey allen-garvey merged commit dde4590 into allen-garvey:master Aug 5, 2018
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