$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] A possible GSOC 2011 proposal idea
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-03-21 19:12:24
On 21/03/2011 18:45, Dave Abrahams wrote:
> Typically what you do with a generic library is that you write generic
> algorithms for arbitrary datatypes and then specialize them to
> dispatch to LAPACK when the types can be handled directly. That way
> you can still get a reasonably-performant matrix-of-matrices or
> matrix-of-rationals and get screamin'-hot performance for floats and
> doubles.
From my experience I found that when efficiency is one of the main
cocners, it often worked better the other way around: write the
algorithm optimally, and then see how you can generalize it.
also, writing multiple implementations requires time, which is somewhat
restricted during a GSoC.