forked from gunthercox/ChatterBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache results from can_process method in math adapter (gunthercox#461)
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.
- Loading branch information
1 parent
f78828f
commit b60f7d6
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters