That doesn't require any memory. The system is always able to read track occupancy. In fact it should always be doing it.
That is not the case with certain optical sensor systems, where track occupancy is calculated from entry/exit events. It is a good reason to use track current sensing, or a combination of track current and optical sensing.
Actually, I would expect a system of your expected complexity to be a logic implementation nightmare using optical sensors alone.