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

add function decorator with serialization cache #121

Closed
joostvanzwieten opened this issue Jun 9, 2016 · 1 comment
Closed

add function decorator with serialization cache #121

joostvanzwieten opened this issue Jun 9, 2016 · 1 comment

Comments

@joostvanzwieten
Copy link
Member

When calling a decorated function all array arguments are replaced by placeholders. The function is serialized once for each unique set of placeholder arguments. Decorated functions behave exactly as undecorated functions provided that the function does not rely on values outside the function namespace, i.e. returns the same value whenever called with the same set of arguments.

@joostvanzwieten
Copy link
Member Author

Superseded by nutils.function.Argument, introduced in #210.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant