On Wed, Apr 15, 2009 at 08:00:39PM +0300, Marko Kreen wrote:
 [...]
> Well, I attached a draft of it, but its totally untested and the
> minheap code is not very parseable for me.  So somebody with
> has better understanding of the code should review it. (Maxim?)
> 
> Basic idea - if you replace an element in the middle of heap with
> last element, there is chance it needs to be pushed up not down.

I've checked this in for now, but please see the comments on
Sourceforge at

https://sourceforge.net/tracker/index.php?func=detail&aid=2778433&group_id=50884&atid=461324

I think that this might not actually be a bug; I can't seem to write a
test case that provokes it.  Have I missed something?  Do you have a
test case?

yrs,
-- 
Nick
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to