Effective and efficient continual learning