Trade-offs between visual sampling and memory in stable and changing worlds. | Synapse