auto-sync

This commit is contained in:
rusEfi 2015-02-08 12:08:50 -06:00
parent 6afc1ee874
commit a93dc56baf
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ int findIndex(const float array[], int size, float value) {
efiAssert(size > 0, "Unexpected state in binary search", 0);
#endif
// todo: compare current implementation with
// http://eigenjoy.com/2011/01/21/worlds-fastest-binary-search/
// ?
middle = (left + right) / 2;
// print("left=%d middle=%d right=%d: %f\r\n", left, middle, right, array[middle]);