forked from FurqanSoftware/too
-
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.
Happy new year!!! This commits introduces follow features: * `EnableAutoUpdate` and `DisableAutoUpdate` method to engine, with this methods the user can manager the engine auto update similars and suggestions status. * `Update` method to engine, now users can update the similars and suggestions to a user manually. * `Batch` method to rater, now users can rater things in batch, maybe this commit resolve part of the FurqanSoftware#1 In addition to the new API the batch operations is faster than normal operations, follow a Benchmark ``` bash $ go test -bench . PASS BenchmarkNoBatch 20 53301558 ns/op BenchmarkUsingBatch 10000 187824 ns/op ```
- Loading branch information
Duke
committed
Jan 1, 2016
1 parent
ebaf1e9
commit a5838e2
Showing
4 changed files
with
318 additions
and
9 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
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
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
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