Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: Greetings. :)
> From: Shawn Halpenny <malachai#iname,com>
> On Apr 6, 8:23am, coder#ibm,net wrote:
> > Objects have Unique IDs.
>
> I've been kicking this unique ID/object around as well, and was
> wondering about how you generate them? I haven't been able to find
<snip>
> Any magical algorithms? :)
Well, I use an static double integer (64 bit). I simply increment it every time I created
an object. On boot up, I save the highest object number loaded.
I've seen servers which recalculate all the object numbers at a reboot to recover
the holes. I don't do this as of yet.
BTW Does anyone know how to create a "magic number" from any given size
block of memory?
- Thread context:
- Re: Greetings. :), (continued)
- Re: Greetings. :),
Furball K.L.Lo-94#student,lut.ac.uk, Tue 08 Apr 1997, 17:16 GMT
- Re: Greetings. :),
Shawn Halpenny malachai#iname,com, Wed 09 Apr 1997, 00:44 GMT
- Re: Greetings. :),
Jeff Kesselman jeffk#tenetwork,com, Wed 09 Apr 1997, 10:34 GMT
- Re: Greetings. :),
Jeff Kesselman jeffk#tenetwork,com, Wed 09 Apr 1997, 10:43 GMT
- Re: Greetings. :),
Jon A. Lambert jlsysinc#ix,netcom.com, Wed 09 Apr 1997, 10:49 GMT
- Re: Greetings. :),
Jeff Kesselman jeffk#tenetwork,com, Wed 09 Apr 1997, 11:04 GMT
- Re: Greetings. :),
Shawn Halpenny rsh#dos,nortel.com, Wed 09 Apr 1997, 21:08 GMT
- Re: Greetings. :),
Shawn Halpenny rsh#dos,nortel.com, Wed 09 Apr 1997, 21:18 GMT
- Re: Greetings. :),
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Wed 09 Apr 1997, 21:46 GMT
[ Other Periods
| Other mailing lists
| Search
]