Following 8 weeks of yoga practice , participants in the yoga intervention group showed significantly improved performance on the executive function measures of working memory capacity and efficiency of mental set shifting and flexibility compared with their stretching-strengthening counterparts .