static arrays

From: MUD (
Date: 03/19/96

The other problem is with the static arrays of mobiles and rooms etc.
Well, when a new object is created using OLC it is just added to the
proto array and using the fast algorithms is no further available.
We have to use linear check to get the object. However, we can
sort the array after a new object has been added and recalculate the
in_room variables and all but it produces a major lag  when 
a hasty immo decides to create coupla of things before starting
to set descs etc. I suppose.
What about changing the data structures to say trees? or lists or
whatever? What do you folk think about it?

This archive was generated by hypermail 2b30 : 12/07/00 PST