From cc629102e5ff147a60ad34bc488e0574333f33b8 Mon Sep 17 00:00:00 2001 From: Rocher Date: Tue, 31 Jul 2018 11:36:14 +0800 Subject: [PATCH 1/2] Update README.md Use the synchronization method as the first choice. --- binding/c#/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binding/c#/README.md b/binding/c#/README.md index a3fb0e14..97fe6518 100644 --- a/binding/c#/README.md +++ b/binding/c#/README.md @@ -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 | BtreeSearch | 19.05 us | 0.2464 us | 0.2305 us | 3 | 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. +``` From 176081fcc76dec63dfed7dc2d38ec4011beb215b Mon Sep 17 00:00:00 2001 From: Rocher Date: Tue, 31 Jul 2018 11:37:25 +0800 Subject: [PATCH 2/2] Update README.md Use the synchronization method as the first choice. --- binding/c#/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/c#/README.md b/binding/c#/README.md index 97fe6518..6baf0aaf 100644 --- a/binding/c#/README.md +++ b/binding/c#/README.md @@ -37,6 +37,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_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. -``` +