[Coldstuff] A couple questions, possibly related.
Tue, 12 Feb 2002 14:17:54 -0700
Jonathan Ross wrote:
> Is there any particular reason a signed 32-bit integer was used rather
> than an unsigned 32-bit integer?
Negative object IDs exist and are used for invalid object numbers. Ease
of programming possibly. Also, if a MUD needs more than 2 billion
objects over time (TEC isn't anywhere close), then it can be dealt with
as that time approaches, or move to a 64 bit box and modify Cold to
allow objnums to be 64 bit values.
Other possibilities exist as well, but to date, no one has run into that
limit after years of use.