Talk:StringHash

From Warcraft Wiki
Jump to navigation Jump to search

Why would someone need a string hash in Lua, where an extremely efficient hashtable is a native type? Just curious. -- MalygosMud (talk) 10:21, 27 February 2009 (UTC)

  • For data transmission, i.e. associate "ThisIsAReallyLongStringThatTakesLotsOfPreciousBytesPerSecondToTransfe" with "1234" and just send "1234" next time. AceComm2 used it back in the day. --Mikk (talk) 15:50, 3 July 2015 (UTC)