Yeah, the brain is indeed one big, brilliant mystery. The memory is for sure something interesting since most, unessential information leaves our conscious mind but, it still stays in the brain.
I honestly wouldn't like such a pill or any pill that speeds up tremendously a natural process (like muscle building, fat loss, intelligence) for that matter since people wouldn't appreciate the results anymore if they are accomplished so easily.