
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Hugo Duncan Sent: 06 December 2007 20:48 To: boost@lists.boost.org Subject: Re: [boost] [rfc] Quadrature library for numerical integrationofdefinite integrals
One of the questions I pondered was whether I should use Boost.Parameter or not. In the end I opted to use it, and I think it works well. Using thirteen parameters does however slow the compiler quite significantly.
With the GSoC Visualization using SVG written by Jake Voytko, the use of Boost.Parameter has not proved a good idea as a way of providing a zillion optional parameters. Jake is in the process of refactoring to remove it. The effect on compile time is very bad (to me entirely unacceptable) and the method of chaining (every member function returns *this) so you can write plot.color(red).title("my_title"). ... that Jake also used has proved much faster and just as convenient (in fact it allows a much nicer and more flexible layout). So I strongly recommend against using Boost.Parameter based on this experience. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com