title: SplMinHeap and decreaseKey
body: <p>short question:</p>
  
  <blockquote>
    <p>Is there a way to implement a
    efficient
    <a href="http://en.wikipedia.org/wiki/Heap_%28data_structure%29" rel="nofollow">decreaseKey</a>
    method for
    <a href="http://php.net/manual/en/class.splminheap.php" rel="nofollow">SplMinHeap</a>
    (or any of the spl heaps) without
    loosing the performance bonus?</p>
  </blockquote>
  
  <p>Background:</p>
  
  <p>For a private project I'm playing around with implementing a <a href="http://en.wikipedia.org/wiki/A%2a" rel="nofollow">A*</a> class and hoped to get a performance increase by using one of the spl heap structures. But I can't get my head around on how to use these as they all lack <code>decreaseKey</code> or <code>contains</code> methods. Maybe I'm missing something completely?</p>
  
  <p>Thanks a lot!</p>