I'm studying Bach's two-part inventions, and am reminded of something John LaPorta pointed out to me years ago at Berklee.
J. S. Bach was reputedly a great improviser at the keyboard. Sadly, we'll never hear him. But the contrapuntal lines in his Inventions & Sinfonias, in terms of their structure and cantibile quality, are remarkably like those found in the Charlie Parker Omnibook.
That is, Bird and the architects of bebop (far from the bon sauvage stereotype) were such accomplished musicians that they could improvise at a blistering tempo with a melodic logic comparable to Bach's.
Compare, for example, this Bach invention, performed by Glenn Gould, to this performance of "Koko" by Bird & Diz.
You dig?
~DM