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

Research into the cost of std::floor and family in performance-critical code #206

Open
glpuga opened this issue May 31, 2023 · 0 comments
Open
Labels
backlog Low priority work enhancement New feature or request

Comments

@glpuga
Copy link
Collaborator

glpuga commented May 31, 2023

Feature description

As part of #199 it was found that std::floor is expensive. When used in a tight loop, this extra cost can be non-negligible.

This ticket is about looking into other uses of std::floor and similar FP functions (std::trunc, etc) in Beluga, looking into their potential impact on performance and analyzing possible alternatives.

See these comments for reference:

And the discussion here: https://stackoverflow.com/questions/824118/why-is-floor-so-slow/825916#825916

@glpuga glpuga added the enhancement New feature or request label May 31, 2023
@hidmic hidmic added the backlog Low priority work label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Low priority work enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants