You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the findNearestLogEventByTimestamp method in JsonlDecoder contains binary search logic that could be extracted into a generic, reusable utility function. This would improve code reusability and make the logic unit testable.
Suggested Implementation
Create a generic upper_bound_binary_search function in src/utils/binary_search.ts similar to std::upper_bound.