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

Cache results from can_process method in math adapter #461

Merged
merged 2 commits into from
Dec 3, 2016
Merged

Conversation

gunthercox
Copy link
Owner

This makes changes so that if a value is processed by the 'can_process' method of the math adapter, the
result can be reused when the 'process' method is called. This reduces redundant operations and increases the efficiency of this method.

This makes changes so that if a value is processed
by the 'can_process' method of the math adapter, the
result can be reused when the 'process' method is called.

This reduces redundant operations and increases the efficiency
of this method.
@gunthercox gunthercox merged commit 21bdb3a into master Dec 3, 2016
@gunthercox gunthercox deleted the math branch December 3, 2016 16:46
vkosuri pushed a commit to vkosuri/ChatterBot that referenced this pull request Dec 10, 2016
This makes changes so that if a value is processed
by the 'can_process' method of the math adapter, the
result can be reused when the 'process' method is called.

This reduces redundant operations and increases the efficiency
of this method.
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

Successfully merging this pull request may close these issues.

1 participant