if i is None:
                cache[item] = i = len(table)
                table.append(item)