This weekend CodeProject posted an article I wrote entitled Fast numerical integration.
The algorithm in the article, introduced in the 1970’s by Masatake Mori and Hidetosi Takahasi, is indeed fast. It integrates analytical functions over bounded intervals with the most accuracy for a fixed number of integration points.
The CodeProject article includes source code and is mostly about the code. See this page for mathematical details.