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

Function evaluations take progressively longer each time #3

Open
denehoffman opened this issue Oct 17, 2024 · 0 comments
Open

Function evaluations take progressively longer each time #3

denehoffman opened this issue Oct 17, 2024 · 0 comments

Comments

@denehoffman
Copy link
Owner

For some reason, each successive function call seems to take a few milliseconds longer than the last. This doesn't show up in the benchmarks either, so I'm not sure what's going on here. I've tested this through the python interface via iminuit and also with the current development work integrating ganesh, and it happens in both cases. Maybe there's some clone I don't know about? I think at the very least there is definitely an optimization that can be done over the Expression struct to improve cache locality, but it's a bit messy (see the recursion crate for the basic idea).

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

No branches or pull requests

1 participant