Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEOSEARCH BYBOX: Reduce wastefull computation on geohashGetDistanceIf…
…InRectangle and geohashGetDistance (redis#11535) Optimize geohashGetDistanceIfInRectangle when there are many misses. It calls 3x geohashGetDistance. The first 2 times we call them to produce intermediate results. This PR focus on optimizing for those 2 intermediate results. 1 Reduce expensive computation on intermediate geohashGetDistance with same long 2 Avoid expensive lon_distance calculation if lat_distance fails beforehand Co-authored-by: Oran Agra <oran@redislabs.com>
- Loading branch information