Irrelevance of memory in the minority game