tellor-io / tellor-pallet

GNU General Public License v3.0
7 stars 3 forks source link

Issue-117 | Incorporating optimised function #123

Closed pawanbisht62 closed 1 year ago

pawanbisht62 commented 1 year ago

This PR pertaining to optimise code complexity by calling get_index_for_data_before_with_start in get_index_for_data_before.

With this change we are reducing the search range in binary search.

Resolves Issue #117