Closed amaliestokholm closed 1 year ago
Due to a fencepost error, the code raises IndexError. Reimplement using a simpler approach. The old approach used a binary search, which is efficient, but it also did a linear search, which is slow. Replace with a single linear search.
See also: https://github.com/gregreen/dustmaps/issues/42
Due to a fencepost error, the code raises IndexError. Reimplement using a simpler approach. The old approach used a binary search, which is efficient, but it also did a linear search, which is slow. Replace with a single linear search.
See also: https://github.com/gregreen/dustmaps/issues/42