Page 2 of 2

Re: getRoomIDbyHash feature request

Posted: Wed Jan 01, 2014 9:56 pm
by Vadi
Collisions happen when different keys result in the same hash, not when the same key results in the same hash. Just so we aren't misinforming anyone...

Re: getRoomIDbyHash feature request

Posted: Thu Jan 02, 2014 11:19 pm
by SlySven
I may be a bit wide of the mark but IIRC, the documentation suggested that the hash was originally anticipated as something coming from the MUD server itself to uniquely identify the room which had a few more digits or non-digit(?) characters than a simple integer room number - and at a time when the room ID might have been an index into a C array the cost of having an index with several more digits than required (i.e. making the array a sparse one) - this would have caused a performance hit. :geek:

Re: getRoomIDbyHash feature request

Posted: Fri Jan 03, 2014 9:10 pm
by Vadi
Yes, Aardwolf.de sends room hashes, IIRC.