Pointer maps: tree vs hash