Branch: Tag:

2015-08-13

2015-08-13 09:17:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ADT.Heap: Shrink the value array on remove().

162:    if (!adjust_up(pos))    adjust_down(pos);    } +  +  if(num_values * 3 + 10 < sizeof(values)) +  values=values[..num_values+10]; +     verify_heap();   }