Update README.md

Use the synchronization method as the first choice.
This commit is contained in:
Rocher 2018-07-31 11:36:14 +08:00 committed by GitHub
parent 9c69fc237d
commit cc629102e5
1 changed files with 4 additions and 0 deletions

View File

@ -36,3 +36,7 @@ BinarySearch | 52.22 us | 0.6403 us | 0.5347 us | 5 |
BinarySearch_Async | 53.03 us | 1.0271 us | 0.9608 us | 6 | BinarySearch_Async | 53.03 us | 1.0271 us | 0.9608 us | 6 |
BtreeSearch | 19.05 us | 0.2464 us | 0.2305 us | 3 | BtreeSearch | 19.05 us | 0.2464 us | 0.2305 us | 3 |
BtreeSearch_Async | 19.40 us | 0.3820 us | 0.6690 us | 4 | BtreeSearch_Async | 19.40 us | 0.3820 us | 0.6690 us | 4 |
```
Because the speed of the program lookup has been fast, the asynchronous method here is just the packaging of the synchronization method, the essence is the synchronization method, the asynchronous method is not recommended, and asynchronous will bring the performance loss, unless you need the asynchronous call format.
```