hashtable

From WarCraft3

Jump to: navigation, search

Template:common.j article series


common.j

type hashtable             extends     agent
Confused? Jass help forum!

A hashtable, given to us in Patch 1.23b, is much like a gamecache in structure.

Like a gamecache, there can only be 256 hashtable instances at one time.

Major differences between hashtables and gamecaches:

  • A hashtable uses integers as keys, not strings.
  • A hashtable is much faster than a gamecache.
  • A hashtable can save and load types other than and including the primitive types.
  • A hashtable cannot be saved and loaded in another map.
  • A hashtable cannot sync data.
Personal tools