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

Optimize custom bang handlers #12

Open
xrstf opened this issue Dec 28, 2023 · 0 comments
Open

Optimize custom bang handlers #12

xrstf opened this issue Dec 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@xrstf
Copy link
Owner

xrstf commented Dec 28, 2023

Currently a function is always evaluated before the bang handler is run. But some functions have custom bang handlers and those might not need the pre-evaluated result, so there should be a way to completely override the behaviour only for performance reasons. The semantics of a "super-custom" bang handler must not be different to a normal one. It's purely about saving 1 EvalExpression() call.

@xrstf xrstf added the enhancement New feature or request label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant