Add a simple speed estimation for mirror list sites.

Use it when no previous (from settings) or explicit (via --site options)
site selection is made, to give a speed-sorted site selection dialog.
    
In that case, in unattended mode, also automatically select the 'fastest'
mirror site.

Jon Turney (3):
  Rename site_list -> selected_site_list for clarity
  Drop maintaining SiteList in order
  Add speed estimation for mirror list sites

 Makefile.am           |   2 +
 SiteSetting.cc        |  30 +++-----
 SiteSetting.h         |  16 ++---
 SiteSpeedEstimator.cc | 158 ++++++++++++++++++++++++++++++++++++++++++
 SiteSpeedEstimator.h  |  44 ++++++++++++
 gui/SitePage.cc       |  60 ++++++++++++----
 ini.cc                |   4 +-
 nio-ie5.cc            |   2 +-
 8 files changed, 270 insertions(+), 46 deletions(-)
 create mode 100644 SiteSpeedEstimator.cc
 create mode 100644 SiteSpeedEstimator.h

-- 
2.51.0

Reply via email to