IIRC Peopleware pointed out a study where they compared two groups of programmers, those working in a quiet environment and those working with music. Given identical assignments, both groups completed it in roughly the same (median) amount of time. However, the assignment was such that there was a "shortcut", i.e. if you thought hard enough about the requirements a much easier solution was possible. Only the programmers in the quiet group got this shortcut. Thought this was interesting.