Subject: Re: [boost] [math] Efficient polynomial multiplication
From: Lakshay Garg (lakshayg373_at_[hidden])
Date: 2017-07-18 06:48:54
> BTW: A polynomial class working with std::array / boost::array would be
> great! No allocation at all...
Maybe I did not understand this properly but I disagree that using
std::array/boost::array will significantly reduce memory allocations. In my
opinion, it is the implementation which determines the number of memory
allocations. You can have the same number of allocations with vector.
Also, you would need to know the sizes of vectors at the compile time if
arrays are to be used. Wouldn't this be too restrictive?