title: which data structure should i choose and why
body: <p>Im writing timers manager in C, which involves:</p>
  
  <ul>
  <li>creating new timer</li>
  <li>removing timers</li>
  <li>removing dead timer</li>
  <li>freezing timers </li>
  <li>and all the other stuff which i did not yet think about.</li>
  </ul>
  
  <p>The key is - amount of memory should be as small as possible.
  At first i thought about linked list, but if i remove some of the middle part, i should rebuild list, which can take some time. Typical dynamic array is the same - i should be carefull with pointers to not miss some of them, when Im rebuliding that structure.</p>
  
  <p>Any ideas ?</p>
  
  <p>Thx for all answer</p>