MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Event Scheduling
Hans-Henrik Staerfeldt wrote:
> I once saw a lecture covering an eventqueue algorithm running O(log(log(n)))
> for insertions and O(1) for deletions. My guess would be that it is the
> implementation of the actual events that will take the time, even if you
> use a O(log(n)) time event queue, or are my notions wrong?
That seems to depend on n? :*) Anyway, I don't think big Oh-notation is
the most useful here. I think you can do rather well with a bucket sort
approach. At least if most insertions do not end up in the "current"
bucket.
Ola.
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Event Scheduling, (continued)
- Re: [MUD-Dev] Event Scheduling,
Hans-Henrik Staerfeldt hhs#cbs,dtu.dk, Tue 08 Feb 2000, 15:08 GMT
- Re: [MUD-Dev] Event Scheduling,
J C Lawrence claw#kanga,nu, Tue 08 Feb 2000, 18:31 GMT
- Re: [MUD-Dev] Event Scheduling,
cg cg#ami-cg,GraySage.Edmonton.AB.CA, Wed 09 Feb 2000, 04:38 GMT
[ Other Periods
| Other mailing lists
| Search
]