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
The Bash version iterates over the entire list of IP blocks for all countries and appends to the country set files as it goes. Repeatedly writing to disk is slow and significant performance benefits can be had by sorting the IP blocks into per-country lists in memory and writing them all out to files in one go.
See #16 and #24 for results of making this improvement to the maxmind provider in the Python version.
Note that the Bash version is basically legacy at this point and I have no intention of making this change myself. However, if someone is actively using the Bash version and wishes to do the work, I will happily accept a PR.
The text was updated successfully, but these errors were encountered:
The
Bash
version iterates over the entire list of IP blocks for all countries and appends to the country set files as it goes. Repeatedly writing to disk is slow and significant performance benefits can be had by sorting the IP blocks into per-country lists in memory and writing them all out to files in one go.See #16 and #24 for results of making this improvement to the
maxmind
provider in the Python version.Note that the
Bash
version is basically legacy at this point and I have no intention of making this change myself. However, if someone is actively using theBash
version and wishes to do the work, I will happily accept a PR.The text was updated successfully, but these errors were encountered: