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

Feature request: Clone a FunctionRegistry with exclusions #61

Open
gibson042 opened this issue Jan 20, 2021 · 0 comments
Open

Feature request: Clone a FunctionRegistry with exclusions #61

gibson042 opened this issue Jan 20, 2021 · 0 comments

Comments

@gibson042
Copy link

The FunctionRegistry extend method can be used to create a new registry that has all the functions of the context registry plus provided additions. But it should also be possible to create a new registry that has all the functions of the context except provided exclusions. This can be used to filter out e.g. functions with known non-linear performance:

FunctionRegistry defaultRegistry = FunctionRegistry.defaultRegistry();
FunctionRegistry saferDefaultRegistry = defaultRegistry.extendWithout("merge", "sort", "sort_by");
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