in reply to Re: Re: Re: Re: Re: Data Structure needed for Event Queue
in thread Data Structure needed for Event Queue
log N log log N 1
256 8 3 1
1K 10 3.3 1
1M 20 4.3 1
So if inserting an item in a fibonnacci heap is 10 times as complicated as inserting one in a binary heap (not entirely unlikely), the binary heap is faster for 1000 elements.
/s
|
|---|