]> granicus.if.org Git - apache/commit
* Do a better estimation on how elements we should allocate:
authorRuediger Pluem <rpluem@apache.org>
Sun, 28 Aug 2011 17:52:44 +0000 (17:52 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sun, 28 Aug 2011 17:52:44 +0000 (17:52 +0000)
commit884647f59483bd647fbc0a5b468da4785cd9ba4f
treef0216bede382e19244452d5f14ad50d5c7781dd3
parent18edf9f28a805991defa074a48e06257bc0e6506
* Do a better estimation on how elements we should allocate:

  Preallocate the number of ranges as number of elements as this works good
  for well behaving clients which we assume to be the most cases, but do
  cut this at the arbitrary number of 100 to avoid too large preallocations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1162565 13f79535-47bb-0310-9956-ffa450edef68
modules/http/byterange_filter.c