Drabble opened a new pull request, #543:
URL: https://github.com/apache/incubator-baremaps/pull/543

   As described in #530, we should order the resulting IP ranges by size of 
range. In the SQLite database we store start and end IP addresses. To sort by 
size of range, we should substract IP end by IP start. This doesn't seem to be 
possible in a SQL query with SQLITE using bitwise operators. We could possibly 
store the range in separate field for sorting purposes.
   For now I sort by IP start DESC, which should give us the most precise range 
in most cases. When two IP start values are equal, I will sort them by IP end 
ASC to get the shortest range.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to