getRoomIDbyHash feature request
Re: getRoomIDbyHash feature request
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...
- SlySven
- Posts: 1023
- Joined: Mon Mar 04, 2013 3:40 pm
- Location: Deepest Wiltshire, UK
- Discord: SlySven#2703
Re: getRoomIDbyHash feature request
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 :geek:](./images/smilies/icon_e_geek.gif)
![Geek :geek:](./images/smilies/icon_e_geek.gif)
Re: getRoomIDbyHash feature request
Yes, Aardwolf.de sends room hashes, IIRC.