<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/13/2016 05:05 PM, MRAB wrote:<br>
    </div>
    <blockquote
      cite="mid:fb9aa7fa-4683-dc0b-4f6c-9f129838ab10@mrabarnett.plus.com"
      type="cite">This could be avoided by expanding the items to
      include the index of the 'previous' and 'next' item, so that they
      could be handled like a doubly-linked list.
      <br>
      <br>
      The disadvantage would be that it would use more memory.<br>
    </blockquote>
    <br>
    Another, easier technique: don't fill holes.  Same disadvantage
    (increased memory use), but easier to write and maintain.<br>
    <br>
    <br>
    <i>/arry</i><br>
  </body>
</html>