Balance between performance and memory