)]}'
{
  "commit": "749aebffdb00d68fe68661e4bbe17c3fc253e29c",
  "tree": "22fad14d57d8b5d164d4b2b4ba2563b9fd865183",
  "parents": [
    "a592f81a937b744e555aee2cef137bce5cb8e206"
  ],
  "author": {
    "name": "Roman Arutyunyan",
    "email": "arut@nginx.com",
    "time": "Mon Mar 02 18:41:29 2015 +0300"
  },
  "committer": {
    "name": "Roman Arutyunyan",
    "email": "arut@nginx.com",
    "time": "Mon Mar 02 18:41:29 2015 +0300"
  },
  "message": "Upstream hash: speedup consistent hash init.\n\nRepeatedly calling ngx_http_upstream_add_chash_point() to create\nthe points array in sorted order, is O(n^2) to the total weight.\nThis can cause nginx startup and reconfigure to be substantially\ndelayed.  For example, when total weight is 1000, startup takes\n5s on a modern laptop.\n\nReplace this with a linear insertion followed by QuickSort and\nduplicates removal.  Startup for total weight of 1000 reduces to 40ms.\n\nBased on a patch by Wai Keen Woon.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "777e180a59f83dc64b58942440c88be7fa1dcd49",
      "old_mode": 33188,
      "old_path": "src/http/modules/ngx_http_upstream_hash_module.c",
      "new_id": "a1f0ff3c91db6f6adfff8d3253fc2f80063f278b",
      "new_mode": 33188,
      "new_path": "src/http/modules/ngx_http_upstream_hash_module.c"
    }
  ]
}
