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

Improve tanh_sinh. #714

Merged
merged 3 commits into from
Nov 3, 2021
Merged

Improve tanh_sinh. #714

merged 3 commits into from
Nov 3, 2021

Conversation

jzmaddock
Copy link
Collaborator

tanh_sinh: improve thrash detection.

Significantly reduces the number of iterations in many cases.

Significantly reduces the number of iterations in many cases.
@jzmaddock
Copy link
Collaborator Author

Work in progress for #706

@NAThompson
Copy link
Collaborator

This is a major improvement to tanh_sinh. Is it realistic to get it into 1.78?

@jzmaddock
Copy link
Collaborator Author

This is a major improvement to tanh_sinh. Is it realistic to get it into 1.78?

That's a good question. I still have further improvements lurking on my HD (pruning the tails when they are trivially small), but I need to test them at various different precisions before signing off on those.

I'm also not completely convinced we don't have a bug somewhere, something doesn't seem quite right, but I don't see what.

That said, maybe we should merge what we have and continue this at a later date.

@jzmaddock jzmaddock marked this pull request as ready for review November 3, 2021 19:54
@jzmaddock jzmaddock merged commit 535fcc2 into develop Nov 3, 2021
@NAThompson NAThompson deleted the tanh_sinh_performance branch November 3, 2021 20:12
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